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

Alexandre Torres Porres porres at gmail.com
Sat Feb 11 14:21:55 CET 2017


seems that using quotes to set up the font with more than one word works in
linux but not in Mac :/

2017-02-11 1:43 GMT-02:00 Alexandre Torres Porres <porres at gmail.com>:

> it's weird how mac os loads "Monaco" by default, but then if you try to
> give it a flag for another font it doesnt find, it prints the warning, font
> "x" not found, using (courier) instead...
>
> why doesn't it use monaco instead? or why doesn't it load courier instead
> of monaco?
>
> in windows, it prints the warning it tried searching for deja vu sans mono
> but didnt find, then it loaded courier by default instead.
>
> seems reasonable to me that in Mac Os it'd happen the same, it's try to
> search for Deja Vu, then it wouldn't find it (unless the user installed
> it), and then it'd load courier instead.
>
> there's gotta be something different in the build system for mac os, right?
>
> cheers
>
> 2017-02-11 1:40 GMT-02:00 Alexandre Torres Porres <porres at gmail.com>:
>
>> it's gotta be some trick I dont know on how to load a font that has more
>> than one word in its name...
>>
>> 2017-02-11 1:25 GMT-02:00 Alexandre Torres Porres <porres at gmail.com>:
>>
>>> and this is to show that I'm being able to load some weird fonts in it :)
>>>
>>> [image: Imagem inline 1]
>>>
>>> 2017-02-11 1:16 GMT-02:00 Alexandre Torres Porres <porres at gmail.com>:
>>>
>>>> ok, made some progress, I did screw up in the flag, but now I'm using
>>>> it right, I just can't seem to get "DejaVu Sans Mono" called, it's loading
>>>> courier instead [image: Imagem inline 1]
>>>>
>>>> 2017-02-11 1:07 GMT-02:00 Alexandre Torres Porres <porres at gmail.com>:
>>>>
>>>>> so, installed "deja vu sans mono" in my mac... tried using the flag -font-face
>>>>> <name>
>>>>>
>>>>> nothing happened, just got an error that proved I may not have used
>>>>> the flag right, what should I do?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2017-02-10 20:42 GMT-02:00 Lucas Cordiviola <lucarda27 at hotmail.com>:
>>>>>
>>>>>> Hi Alex,
>>>>>>
>>>>>> *>I just hoped we could make vanilla laod the same fonts in all
>>>>>> platforms and that patches would all look the same as in Purr Data, what's
>>>>>> preventing it from happening?*
>>>>>>
>>>>>>
>>>>>> To put it fast and dirty but not incorrect:
>>>>>>
>>>>>> Purr Data uses web-browser technology to do the GUI. Basically a
>>>>>> Chrome browser. That’s why you see that fonts are rendered the same across
>>>>>> Oss.
>>>>>>
>>>>>> Check NW.js:
>>>>>> https://nwjs.io/
>>>>>>
>>>>>>
>>>>>> On the other hand, it sounds that you are saying that if a vanilla
>>>>>> patch does not look as how you see it in your Mac is “bad”.
>>>>>>
>>>>>> Vanilla is not shipping “deja vu sans mono”,
>>>>>> Can you give screen-shots with this font installed on your Mac?
>>>>>> May be your patches render the same as Linux & Windows.
>>>>>>
>>>>>> And remember the startup flags:
>>>>>>
>>>>>> -font-size <n>     -- specify default font size in points
>>>>>> -font-face <name>  -- specify default font
>>>>>> -font-weight <name>-- specify default font weight (normal or bold)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Mensaje telepatico asistido por maquinas.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170211/4790efb3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-02-11 at 01.24.21.png
Type: image/png
Size: 190124 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170211/4790efb3/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-02-11 at 01.15.24.png
Type: image/png
Size: 67437 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170211/4790efb3/attachment-0003.png>


More information about the Pd-list mailing list