If you set tk scaling to a fixed value, and use a font that is known
to be installed (i.e. included with Pd), then the font sizes quite
reliable in terms of pixel sizes, at least in my tests.
.hc
On Sep 24, 2007, at 7:49 PM, Miller Puckette wrote:
The problem I'm having is that there seems to be no reliable way to
get a text font of a desired size using the Tk font primitives. In
practice you can get a fixed-width font with a particular pixel width, but then the heights vary widely. If I simply fixed the height myself from Pd, it would be much easier to get fonts to fit patches.cheers M
On Sun, Sep 23, 2007 at 12:55:07PM -0400, Mathieu Bouchard wrote:
Miller wrote:
This is why I'm thinking about what I call the nuclear option: separating all text into separate lines
It's like the Qu?b?cois nucular family blowing up. It's proof that
QC has WMD. Jean Cr?tin once said: ?Pourquoi acheter des carabines ? r?p? tition et de l'armement nucl?aire pour s'amuser? C'est dangereux! Et
quand c'est dans la maison, bien il peut y avoir un enfant qui se sert de ? a, ...? (http://www.mef.qc.ca/audio/10vag.wav). Nowadays in QC, couples
prevent divorce by simply not getting married (http://www.ledevoir.com/2007/09/13/156634.html).and controlling the vertical spacing from within Pd. I don't
wanna do it, but it might be the only way out.Out of what?... first define what you are trapped into. You are
not bound to Courier fonts any more than you are strapped to a typewriter._ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - t?l:+1.514.383.3801, Montr?al QC Canada
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
"[W]e have invented the technology to eliminate scarcity, but we are
deliberately throwing it away to benefit those who profit from
scarcity." -John Gilmore