[PD] unicode symbols and Pd

Ingo ingo at miamiwave.com
Mon Jan 18 19:17:03 CET 2021

Thanks a lot, Alexandre!


"226 153 175" works perfectly!

This is exactly what I had been looking for!

I'm actually using DejaVa für displaying this.


I'm happy that I don't have to install anything new or update anything!


The funny thing is that when I search for dejavu I only get one result in /usr/share/fonts/ .

When I rename the folder it still displays everything normally - so there must be a backup or similar in another location.

Maybe it is compiled which could be why it doesn't show up.





From: Alexandre Torres Porres [mailto:porres at gmail.com] 
Sent: Monday, January 18, 2021 6:38 PM
To: Ingo
Cc: Pd-List
Subject: Re: [PD] unicode symbols and Pd




Em seg., 18 de jan. de 2021 às 13:31, Ingo <ingo at miamiwave.com <mailto:ingo at miamiwave.com> > escreveu:

> IOhannes m zmölnig wrote:
> in the meantime you could start by installing a couple of fonts (preferably
> ones that have the missing symbols) on your system and then restart Pd.

I already have DejaVu and Helvetica installed that has all fonts that I need.
If I'm not completely off these should be distributed with Pd and be the same 
on all platforms, right?


No, only DejaVu is distributed by Pd and it is the only font that should be the same in all platforms. Actually, in the meantime, we're shipping Menlo as a substitute for DejaVu on macs. So even this is not entirely true.


I know iemguis have "Helvtica" and "Times" listed as font options, but Pd doesn't ship those and you're expected to have them in your system. If you don't, you might actually get a different font that's supposed to be similar. 


If all characters were in the DejaVu / Helvetica fonts


sharp and flat are in DejaVu. I don't know about Helvetica, we'd have to look, no one mentioned Helvetica here.


I should be able to display the alternative # (8983) with UTF-8.


Yes, if you have DejaVu, you should display the sharp symbol, which is not "8983", that is the "VIEWDATA SQUARE", and it is not present in DejaVu! The sharp symbol looks like but is a completely different symbol. It is also completely different from the number sign "#" (and not an "alternate" version of it). Anyway, its value is "9839", see https://www.fileformat.info/info/unicode/char/266f/index.htm - as an utf-8 list this is "0xE2 0x99 0xAF" and "226 153 175" as a decimal list, send this list to [list tosymbol] and you'll see the sharp sign!



It would be soooooo easy to edit one single unused character of the fonts if I 
knew where they were.
Unfortunately I do not expect myself to be able to read through the entire Pd 
source code to find out.


This is not in the source code of Pd, the font is a .ttf file, and for you to edit it, you have to edit the font and generate a new custom design font for you.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210118/7affd7da/attachment.html>

More information about the Pd-list mailing list