[PD] cross platforms issues with displaying fonts in vanilla but not in Purr Data

Miller Puckette msp at ucsd.edu
Sun Feb 12 17:20:40 CET 2017


About that padding - the Tcl code sends Pd the font metrics on startup, and
Pd follows them in setting the dimensions of boxes.  So I guess the new version
of Tcl/Tk is overstating the font width by one pixel.  Perhaps height is also
wrong in the same way (make a mesages box with 20-ish lines in it and see if the box
is 20 pixels too tall).

cheers
M

On Sun, Feb 12, 2017 at 02:39:32AM -0700, Dan Wilcox wrote:
> As for comparisons, here’s the same patch using Deja Vu Sans Mono and Monaco, both with Tk 8.4 & with Tk 8.6 Retina HiDPI rendering: https://flic.kr/p/QLGphN <https://flic.kr/p/QLGphN> (zoom in or download & view at full size)
> 
> Jonathan: One of the remaining problems I have with the Tk 8.6 build is the padding added to the object box width in HiDPI. Any clues on what to look into to fix this? The object arguments are clearly the same width… or appear to be.
> 



More information about the Pd-list mailing list