Ok, cool.
I add the previous code links here for us to remember:
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
On Feb 13, 2017, at 10:43 AM, Lucas Cordiviola <lucarda27@hotmail.com> wrote:
Following Dan`s suggestion to ship & use a font without installing it, I came to a very straight-forward method for w32.
Tested & working.
It uses a Tcl Windows API extension. (600KB)
twapi web:
twapi package:
added lines on "pd-gui.tcl" @line 24:
# adding dejavu fonts on mswindowspackage require twapitwapi::AddFontResourceEx DejaVuSansMono.ttftwapi::AddFontResourceEx DejaVuSansMono-Bold.ttf
0000000
Don't know how to exclude this "package require" for the other OSs.The .ttf were placed on pd/bin for simplicity.