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 <[email protected]> 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, [email protected] <mailto:[email protected]> 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, [email protected] 
>>>> <mailto:[email protected]> wrote:
>>>> 
>>>> Message: 1
>>>> Date: Fri, 08 Apr 2022 11:35:39 +0200
>>>> From: [email protected] <mailto:[email protected]>
>>>> To: Pd list <[email protected] <mailto:[email protected]>>
>>>> Subject: [PD] Pd 52.2 different font in console?
>>>> Message-ID: <[email protected] 
>>>> <mailto:[email protected]>>
>>>> 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/>



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to