[PD-dev] tk 8.5 on Mac OSX & retina screens

Dan Wilcox danomatika at gmail.com
Tue Sep 30 15:18:00 CEST 2014

I was able to get 0.46-0 working with retina resolution on OSX. It's pretty easy.

* replace Contents/MacOS/Pd with Tk 8.5 Wish.app binary:  /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish

* add the following to Contents/Info.plist:


* change package require Tcl version to 8.5 in Contents/Resources/tcl/pd-gui.tcl

Looking at the app bundle build script, it would only involve updating the wish-shell.tgz with the new Wish.app and renaming all instances of  "Wish Shell" to "Wish" as I found "Wish Shell.app" is now a static link to "Wish.app".

The only problem I noticed is that the font at size 10 or less is so thin that it becomes illegible. I think simply bolding it on retina screens would work.

I wasn't able to find a way in tk to get the screen dpi, so maybe using the max screen size would work:

wm maxsize

If the width and height are greater than, say 2000 & 1500 then bold the small fonts? It's kind of dumb but might work.

Dan Wilcox

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20140930/48f8fc03/attachment.html>

More information about the Pd-dev mailing list