[PD-dev] cross-platform font size

IOhannes m zmoelnig zmoelnig at iem.at
Thu Jun 9 18:56:32 CEST 2005


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

mfg.a.d
IOhannes




More information about the Pd-dev mailing list