Cool, Do you think this needs further testing before implementation?
Alex can come with some news tomorrow testing DejaVu on all platforms. Mensaje telepatico asistido por maquinas. ________________________________ From: Dan Wilcox <[email protected]> Sent: Sunday, February 12, 2017 8:39 AM To: Lucas Cordiviola Cc: Pd-List; Jonathan Wilkes; Alexandre Torres Porres Subject: Re: [PD] cross platforms issues with displaying fonts in vanilla but not in Purr Data On Feb 12, 2017, at 1:21 AM, Lucas Cordiviola <[email protected]<mailto:[email protected]>> wrote: >Bad metaphor, not a fight. You’re right!!! Is just because there are no girls on this list. And this is a typical masculine joke. Oh I got it, didn’t want it. There are women (not girls) on this list. >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. How difficult is to deploy DejaVu on Mac? On Windows it needs an installer that puts it on the c:\windows\fonts and add some registry-keys. Typically, add a key to the app bundle Info.plist and include the font in the app bundle's Resource folder. This means the font does not have to be installed system- or user- wide but only used by the app itself. This assumes Tk’s handling of app bundles picks up on registered fonts from the plist (it should). As for Windows, it looks like it’s possible to load a font that comes with the app (the Windows API alls this a Private Font Collection<https://msdn.microsoft.com/en-us/library/windows/desktop/ms533820(v=vs.85).aspx>): http://code.activestate.com/lists/tcl-core/8158/#sthash.qJEhQALT.dpuf -------- Dan Wilcox @danomatika<http://twitter.com/danomatika> danomatika.com<http://danomatika.com> robotcowboy.com<http://robotcowboy.com>
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
