I am trying to create a custom web icon-font, and the one part I can’t figure out is how to use the custom, private space unicode hex values.
This is how Font Awesome is created, and I’d like to do my font the same way. For instance, F000 is not a regular unicode character. So it had to be added custom. If I open the font-awesome OTF file in Glyphs, I can see all the hex values that are in the private range.
But with my own file, I can’t seem to add any of these values, I can only use the characters that are already available, or if I add a “new glyph”, it adds it to the “other” group, but there is no unicode value set to it, and I can’t seem to add one. There is also no “unicode checker” arrow button when I click on an individual glyph either.
Unicode values depend on the glyph name. See Window > Glyph Info for reference. If you want a specific Unicode, use uniXXXX for 4-digit codes (BMP) and uXXXXX for 5-digit codes in the higher planes.
it is not necessarily a PUA unicode name issue.
I am currently trying to add a certain glyph but i do not know its name, I have the unicode value but i can not seem to find a way to add it by unicode. the “add glyph” in the “font” menu only allows me to add a glyph by its name.
how do I add a glyph if i have its unicode but do not know its name??
you can check “Use custom naming” in Font info > other settings (temporarily). Then the unicode field in the info box in the lower left of the font view will become editable. So that you can add your own values. The you can define the glyph names and the unicodes independently.
Or use uniXXXX names as glyph names. For PUA codes, you then can change the name to something else (even without changing the setting in Font Info).