Copy link to clipboard
Copied
Hi. I'm using the grep_mapper script (from Peter Kahrel) to create a font unicode map of the private use area.
But I would also like to get the name of each glyph.
Is there a way to script it :
• for this character > get glyph name from font used.
Thanks.
Copy link to clipboard
Copied
No, that's not possible. You can get the character's content (its representation) and its unicode value, but the name isn't available. (Only for special characters such as en rule and the like can you get the name). You could repurpose the unicode tables from the Unicode website and use them to look up character names, using a character's Unicode point as a key. That's all.
Peter
Copy link to clipboard
Copied
OK.
I have my own character names in the font.
I use Indyfont, so I could write a jsx to get an array of unicodes and names.
It could be a good feature for Indyfont to export as a unicode map/table like grepmapper.jsx.
Thanks