[PD-dev] pdfontloader for 0.49

Christof Ressi christof.ressi at gmx.at
Wed Sep 12 00:30:43 CEST 2018

Hi Dan, attached you find pdfontloader.dll, built against the libs in msw/. I put it inside msw/0.48.1/pd/bin together with a modified test.tcl pointing to the DejaVu font and successfully did "./wish85.exe test.tcl".

notes: building without PDDIR (tcl 8.6) was straightforward (but of course it's not compatible with tcl 8.5 in /msw). when building with PDDIR=.../msw/0.48.1/pd I got linker errors until I moved the msvcrt.dlls to somewhere else (because of conflicts with the mingw crts). so maybe it's a good idea to use the pre-built pdfontloader.


Gesendet: Dienstag, 11. September 2018 um 11:29 Uhr
Von: "Dan Wilcox" <danomatika at gmail.com>
An: "Miller Puckette" <msp at ucsd.edu>, "Christof Ressi" <christof.ressi at gmx.at>
Cc: pd-dev <pd-dev at lists.iem.at>
Betreff: pdfontloader for 0.49

Howdy all,
One important point for 0.49 would be to finish off the cross platform font support started in 0.48. The last bit involves loading the included font on Windows and I wrote a tiny Tcl C extension for this which does not require any external extensions. We simply need to integrate it into the Windows package and load it before loading the fonts. The easiest solution is to add a pre-built pdfontloader to the msw/pdprototype.tgz bin directory. Also, the notes in font/README.tcl could be updated to match.
The code and info on how to make it work are all here: https://github.com/pure-data/pdfontloader
I don't currently have a Windows install, so maybe Christof can help with this? *hint hint*
We could integrate this small codebase into the msw directory and include it in the build process as well, but that could also be left for later.

Dan Wilcox
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdfontloader.zip
Type: application/zip
Size: 72500 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20180912/a6086d54/attachment-0001.zip>

More information about the Pd-dev mailing list