How do I extract the list of supported Unicode characters from a TrueType or embedded OpenType font on Linux?
Is there a tool or a library I can use to process a .tt
The character code points for a ttf/otf font are stored in the CMAP
table.
You can use ttx
to generate a XML representation of the CMAP
table. see here.
You can run the command ttx.exe -t cmap MyFont.ttf
and it should output a file MyFont.ttx
. Open it in a text editor and it should show you all the character code it found in the font.