[PD-dev] glist font vs. default font - how to measure?

Mathieu Bouchard matju at artengine.ca
Wed Sep 5 10:58:41 CEST 2007


On Tue, 4 Sep 2007, Hans-Christoph Steiner wrote:

> Actually, I think the preferred way of specifying the font would be to 
> use Tk font specs rather than X11 font specs.  They are easier anyway. 
> I replaced all the X11 font specs in Pd-extended using Tk font specs.
>
> They are like this:
>
> "font size style", i.e.:
> courier 12 bold
> monaco 24 bold
> helvetica 12            (blank style means normal)

This is not the case with Tk 8.5. If you want to support all fonts that Tk 
8.5 supports, you have to use X11 font specs, because Tk font specs are 
now reserved to TrueType fonts.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada


More information about the Pd-dev mailing list