[PD-dev] cross-platform font size

B. Bogart ben at ekran.org
Thu Jun 9 20:53:32 CEST 2005


the X11 style font should be replacable with:

{courier bold -12}

after the -font option.

I've not tried it myself, HC please sed it and lets see what happens! :)

B>

Hans-Christoph Steiner wrote:
>
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20050609/4d64be6d/attachment.pgp>


More information about the Pd-dev mailing list