[PD] Pd vanilla font size

Dan Wilcox danomatika at gmail.com
Wed Nov 28 23:07:48 CET 2018

The GUI tries to find the font size that fits a set of predefined box sizes. The one computer might have some system settings that make this process work differently then the others and this is probably out of Pd's control.

You can check a couple of things:

1. turn on log level 4 and verify the font and font weight that are being used, the print looks like "Using font: DejaVu Sans Mono normal"

2. stop Pd, edit tcl/pd-gui.tcl on two machines and uncomment the font metrics prints, then start Pd and check the log to verify the metrics are similar or vastly different: https://github.com/pure-data/pure-data/blob/master/tcl/pd-gui.tcl#L540 <https://github.com/pure-data/pure-data/blob/master/tcl/pd-gui.tcl#L540>

As discussed in work on the font sizing for Pd 0.48, the way the system works there is no real *guarantee* the sizing and positioning can be pixel *perfect* between platforms. I think we're pretty close using the metrics from Pd-extended but systems and system settings change...

> On Nov 28, 2018, at 9:47 PM, pd-list-request at lists.iem.at wrote:
> Date: Wed, 28 Nov 2018 19:31:46 +0100
> From: João Pais <jmmmpais at gmail.com <mailto:jmmmpais at gmail.com>>
> To: PD-List <pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>>
> Subject: [PD] Pd vanilla font size
> Message-ID: <op.zs7ce8cr3gx0ss at thinkcentre.fritz.box <mailto:op.zs7ce8cr3gx0ss at thinkcentre.fritz.box>>
> Content-Type: text/plain; charset=iso-8859-15; format=flowed;
> 	delsp=yes
> Hello list,
> a small question about font size: in one of my computers the font in the  
> patch is bigger than in the others. That happens in the same patch with  
> the same settings. Is this behavior known?
> Pd vanilla (it happens with any version I install), windows 10.
> Best,
> jmmmp

Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20181128/466a2392/attachment-0001.html>

More information about the Pd-list mailing list