[PD] unicode symbols and Pd

Alexandre Torres Porres porres at gmail.com
Mon Jan 18 18:38:11 CET 2021


Em seg., 18 de jan. de 2021 às 13:31, Ingo <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.

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


More information about the Pd-list mailing list