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

Dan Wilcox danomatika at gmail.com
Sun Feb 12 10:39:32 CET 2017


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.

> On Feb 12, 2017, at 2:03 AM, Lucas Cordiviola <lucarda27 at hotmail.com> wrote:
> 
> Cool,
> 
> Do you think this needs further testing before implementation?

Yup.

At the very least, changing the default font for macOS users means causing possible layout issues in their patches, especially when it comes to GOP. I loaded a couple of my fancier ones and noticed a few issues such as symbol atoms not appearing on GOP since they are slightly wider using Deja Vu Sans Mono than with Monaco. I noticed this in the past when I transitioned from Linux to Mac as well, except in that case I had more room.

Another issue is that, for many, the rendering of a bolded DVSM will simply look *ulgy* to those used to a normal-weight Monaco, especially if they never used an earlier version of Pd or Pd on Linux.

OTOH having consistent font width on all platforms would be a big plus overall. Changing the default font on Mac could be a Pd compatibility mode option as well.

IMHO I think the default font shouldn’t really be set in the C core anyway but in the Tcl which already detects the platforms.

--------
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/20170212/94b702d7/attachment.html>


More information about the Pd-list mailing list