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

Alexandre Torres Porres porres at gmail.com
Sun Feb 12 15:49:21 CET 2017


2017-02-12 5:52 GMT-02:00 Dan Wilcox <danomatika at gmail.com>:

> As a followup after checking pd-gui.tcl, the default font is Deja Vu Sans
> Mono in the find_default_font method, followed buy Bitstream Vera Sands
> Mono, Inconsolata, etc.
>
> The problem is that this method is only called in startup if tk 8.5 is
> being used, as it is right now, the precompiled Vanilla is built using the
> older tk 8.4 Wish app so the font finding method is not used.
>
> Alex, can you try one of my vanilla builds that uses tk 8.6?
> http://docs.danomatika.com/pdbuilds/
>
> Since you have Deja Vu installed on the system, it should be picked up
> automatically (in theory).
>
>

here's my test, got the tcl/tk86 pd 0.47-1 64 bits version...

first thing I notice is that fonts printed in the terminal look different,
there's no warning saying it didnt find DejaVu Sans and loaded something
else as well... the new tcl/tk is the left one, regular vanilla on the
right!


[image: Imagem inline 1]


Onto opening a patch... now, whay I do is I get into the preferences of a
GUI, and if I see DejaVu there, I know it's loaded, but what happened is
that I still found MONACO in the new tcl/tk version

So I even put two labels in canvases to compare them, and, well, the new
tcl/tk renders it pretty well, looks much nicer, I like it. Her'es the
print. Same thing, tk86 on the left, regular on the right.


[image: Imagem inline 2]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170212/993792ee/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-02-12 at 12.44.56.png
Type: image/png
Size: 109225 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170212/993792ee/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-02-12 at 12.44.09.png
Type: image/png
Size: 645021 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170212/993792ee/attachment-0003.png>


More information about the Pd-list mailing list