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

Dan Wilcox danomatika at gmail.com
Mon Feb 13 06:06:31 CET 2017


> On Feb 12, 2017, at 6:49 PM, Lucas Cordiviola <lucarda27 at hotmail.com> wrote:
> 
> >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.
> 
> IMO the default cross platform font should NOT be Bold. As Dan said OSX users will most likely find it ugly, and it was not bold in Pd-extended nor is in Purr-Data.

I tested with bold as that is the default font weight for vanilla on Linux AFAICT.

> >>How difficult is to deploy DejaVu on Mac?
> 
> >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:
> 
> https://msdn.microsoft.com/en-us/library/windows/desktop/ms533820(v=vs.85).aspx <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 <http://code.activestate.com/lists/tcl-core/8158/#sthash.qJEhQALT.dpuf>
> 
> @Dan:
> 
> The Tcl thing is just for Windows?

Yes as it’s using the Window’s API.

> Or Cross-platform?

No. See above.

I know the Mac solution. Deja Vu is usually installed on Linux systems and, if not, can be an install requirement by whatever package manager is being used. There is no need to distribute and install a copy of the font on Linux.

--------
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/2db4b14e/attachment-0001.html>


More information about the Pd-list mailing list