Paul_Hossler
10-17-2007, 05:51 AM
Is there a way to create a specimin sheet of only the defined glyphs in a Opentype font, all the up to the high areas, Private Use Area and beyond?
Creating a doc with all the char numbers, and changing to the font doesn't eliminate the undefined glyphs, and in some fonts there's a lot.
If I take a doc, enter E000 + Alt-x I get a blank (wide as a space).
I can't figure out how to tell that characters like E000 are not defined.
Using TTX http://www.letterror.com/code/ttx/index.html
I can dump the cmap table and see
<map code="0x1e" name=".notdef"/>
<map code="0x1f" name=".notdef"/>
<map code="0x20" name="space"/>
<map code="0x21" name="exclam"/>
<map code="0x22" name="quotedbl"/>
which gives me the Unicode, the glyph name, and if it's undefined. So somewhere the information is in the TTF or OTF file.
(I even thought about reading the txt output file from TTX, but decided that doing it that was was really round-about)
What I'd really like to do is
1. Run a macro and select a font (uninstalled would be really nice)
2. Have it create a doc with the glyph name, the glyph, the unicode value needed to keyboard it, so I could print it out as a quick reference.
Thanks
Paul
Creating a doc with all the char numbers, and changing to the font doesn't eliminate the undefined glyphs, and in some fonts there's a lot.
If I take a doc, enter E000 + Alt-x I get a blank (wide as a space).
I can't figure out how to tell that characters like E000 are not defined.
Using TTX http://www.letterror.com/code/ttx/index.html
I can dump the cmap table and see
<map code="0x1e" name=".notdef"/>
<map code="0x1f" name=".notdef"/>
<map code="0x20" name="space"/>
<map code="0x21" name="exclam"/>
<map code="0x22" name="quotedbl"/>
which gives me the Unicode, the glyph name, and if it's undefined. So somewhere the information is in the TTF or OTF file.
(I even thought about reading the txt output file from TTX, but decided that doing it that was was really round-about)
What I'd really like to do is
1. Run a macro and select a font (uninstalled would be really nice)
2. Have it create a doc with the glyph name, the glyph, the unicode value needed to keyboard it, so I could print it out as a quick reference.
Thanks
Paul