I added two builds that include Dejavu Sans Mono within the app bundle, so it works without needing to manually install the font: http://docs.danomatika.com/pdbuilds/ http://docs.danomatika.com/pdbuilds/
The font itself is only 320Kb. This seems to be working for me using both Tk 8.4 & 8.6, although the latter still exhibit the object box width issue (a separate problem).
Technically, as I mentioned in an earlier email, the solution is to add a key to the app bundle Info.plist and include the font file in the app bundle’s resource list. When the app is launched, the font is loaded automatically and available for use with Tk.
On Feb 12, 2017, at 8:23 AM, Alexandre Torres Porres porres@gmail.com wrote:
2017-02-12 6:05 GMT-02:00 Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com>:
The actual culprit is that sys_font & sys_fontweight are set as Monaco (normal) when building for Mac and Deja Vu Sans Mono (bold) when building for the other platforms in s_main.c.
cool, that's what I noticed, at least this could be simply worked out, right?
I think they both need to be either normal or bold by default in every system, and I like "normal" much better, that's how it's always been in Extended and now in Purr Data as well anyway ;)
cheers
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/