Howdy Windows peeps,
I wonder if the pdfontloader needs to be recompiled for TK 8.6+. I believe the build distributed with Pd on Windows was built for Tk 8.5.
On Apr 9, 2022, at 12:42 PM, Dan Wilcox danomatika@gmail.com wrote:
The font detection & loading looks like it's working fine via our custom pdfontloader:
https://github.com/pure-data/pdfontloader https://github.com/pure-data/pdfontloader
The font on Windows and Linux has always been bold:
https://github.com/pure-data/pure-data/blob/master/font/README.txt#L33 https://github.com/pure-data/pure-data/blob/master/font/README.txt#L33
What may have changed is how Tk calls the Windows API to do the rendering. I would ask more of a Windows dev about this (Christof, Lucarda, etc).
How does it look if you add "-font-weight normal" to the startup flags and restart Pd? To confirm, the using font line should the change to:
using font: DejaVu Sans Mono normal
Another thing to try: "-font-face Courier" then see if the rendering is better with a native font for the system. If so, this could indicate some issue or change with how we load a local TTF font file.
On Apr 9, 2022, at 12:01 PM, rolfm@dds.nl mailto:rolfm@dds.nl wrote:
@Dan
i gave you incomplete debug info, should be this:
pdfontloader loaded DejaVuSansMono.ttf pdfontloader loaded DejaVuSansMono-Bold.ttf pdfontloader loaded DejaVuSansMono-Oblique.ttf pdfontloader loaded DejaVuSansMono-BoldOblique.ttf 'pd-gui' connecting to 'pd' on localhost 5331 ... ------------------ done with main ---------------------- Tk 8.6.10 detected font: DejaVu Sans Mono using font: DejaVu Sans Mono bold
rolf
Dan Wilcox schreef op 08-04-2022 13:48:
Turn log level to 4. What is the font debug info printed at start?
On Apr 8, 2022, at 12:00 PM, pd-list-request@lists.iem.at mailto:pd-list-request@lists.iem.at wrote:
Message: 1 Date: Fri, 08 Apr 2022 11:35:39 +0200 From: rolfm@dds.nl mailto:rolfm@dds.nl To: Pd list <pd-list@lists.iem.at mailto:pd-list@lists.iem.at> Subject: [PD] Pd 52.2 different font in console? Message-ID: <f1c508c0d87b465501c62d30662a23fe@dds.nl mailto:f1c508c0d87b465501c62d30662a23fe@dds.nl> Content-Type: text/plain; charset="us-ascii"
hi,
i just upgraded from 52.1 to 52.2 on Windows 10.
i noticed:
first: text in Pd-console looks much clearer.
then: in 52.1 (and before(?)) the font in the Pd-console was different from the one in the patches.
now in 52.2 the font in the console and in the patches seems the same, BUT the patches look like having an ugly bold version.
i was used to that, but of course now i would like to have the same clear image as in the console.
rolf
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/