[PD-dev] cross-platform font size
Hans-Christoph Steiner
hans at eds.org
Thu Jun 9 21:49:42 CEST 2005
On Jun 9, 2005, at 12:56 PM, IOhannes m zmoelnig wrote:
> Hans-Christoph Steiner wrote:
>> So a bunch of us are working on workshops and documentation and we
>> are of course butting our heads against the font issue again.
>> Does anyone have a good idea to fix this? I remember some talk about
>> converting the fonts to pixel sizes rather than point sizes. That
>> sounds like exactly what we should do. I've poked around a bit, but
>> my Tcl skills are not so sharp.
>
> in tk you just give the size as negative values and that'll be the
> font-size in pixels (absolute)
>
> so, while a font-size "12" is 12 points, "-12" is 12 pixels.
>
> here ends my knowledge of tcl/tk
I remember that discussion. What I don't really know is where to put
change 12 to -12. The fonts are specified in the Xwindows style:
-*-courier-bold--normal--12-*
Do we have to change to a different format for specifying fonts?
.hc
________________________________________________________________________
___
"Information wants to be free."
-Stewart Brand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2353 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20050609/963056b3/attachment.bin>
More information about the Pd-dev
mailing list