icons workflow, taskbar ttf source
Closed this issue · 4 comments
Hi Maxim,
thanks you very much for your dot files, install guide.
I use them and follow your work for my arch install.
-Could you please explain the workflow for get "PUA-A" font code? Must I use fontforge?
-What is the source of taskbar.ttf, is it a custom mixed fonts?
Hi, glad you found them useful!
taskbar.ttf
is a custom font that I made myself in Font Forge, most of the icons are based on Font Awesome with some position / size modifications to look better on the py3status bar, but a few of them I made myself (like the "charging battery" icon) - I might have found an svg online to start with, but I don't remember to be honest.
To know which icon from taskbar.ttf belongs to which code point, the only option is to open the font with Font Forge. I've just recently moved all icons into to PUA-A section, at the moment there are icons in the range F0000-F003B
. For your convenience:
Ok great, this is what i was thinking! I have done yesterday the update in PUA-A, but I don't understand at all the difference and can't find good information about what i PUA-A, I must learn more about font I think.
I'm searching in fontforge where I can get this PUA-A code.
If you have a good documentation, sources about this...
Thanks yet !
edit: PUA Public Use Area 💃
Unicode has split the available codes into sections, and defined 3 areas as "Private Use Areas (PUA)" promising that these codes will never conflict with other fonts. These areas are therefore very useful to use for icon fonts, because you can stop worrying that your icon font may conflict with some other regular font.
Initially I was using using the first area, called Basic Multilingual Plane, but Font Awesome is using the same area for their icons, and I got into a conflict. That's why I moved all my icons in taskbar.ttf into the first supplementary area called PUA-A and now I can use both Font Awesome and my taskbar fonts and they never conflict.
In Font Forge open taskbar.ttf and you can reach any area using the following two methods:
- Menu > Element > Font Info > Unicode Ranges and click for example on "Supplementary Private Use Area-A":
- Learn the code yourself (e.g. PUA-A starts with
F0000
), click Menu > View > Go to > typeuF0000
and hit Enter.
Good luck!