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
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
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
Well, I'm trying to avoid dependences on stuff that isn't absolutely guaranteed to be there in the OS, so that Pd can work out-of-box without running installation scripts.
Also, even though the sizes are apparently predictable with lucida etc., they are quite uncomfortably different from what Pd currently gets, at least from the tests I've made.
cheers M
On Tue, Sep 25, 2007 at 02:44:41PM -0400, Hans-Christoph Steiner wrote:
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
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I can understand not wanting dependencies, but you can include
Bitstream Vera Sans Mono with Pd. It's a free font. It would just
be one file, two if you want normal and bold.
http://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts
It would be MUCH easier to deal with than say, ASIO, portaudio,
portmidi, FFTW, etc.
.hc
On Sep 25, 2007, at 3:46 PM, Miller Puckette wrote:
Well, I'm trying to avoid dependences on stuff that isn't absolutely guaranteed to be there in the OS, so that Pd can work out-of-box
without running installation scripts.Also, even though the sizes are apparently predictable with lucida
etc., they are quite uncomfortably different from what Pd currently gets, at least from the tests I've made.cheers M
On Tue, Sep 25, 2007 at 02:44:41PM -0400, Hans-Christoph Steiner
wrote: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
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
All information should be free. - the hacker ethic