fonttools: Post table problem after straight ttf>ttx>ttf (no changes)
test fonts: http://ashokabuildcon.com/tushar/NewWebsite/css/fonts/
ttf/ttx/ttf#1 files.zip
matt$ ttx tt0003c_.ttf
Dumping "tt0003c_.ttf" to "tt0003c_.ttx"...
Dumping 'GlyphOrder' table...
Dumping 'head' table...
Dumping 'hhea' table...
Dumping 'maxp' table...
Dumping 'OS/2' table...
Dumping 'hmtx' table...
Dumping 'cmap' table...
Dumping 'fpgm' table...
Dumping 'prep' table...
Dumping 'cvt ' table...
Dumping 'loca' table...
Dumping 'glyf' table...
Dumping 'kern' table...
Dumping 'name' table...
Dumping 'post' table...
Dumping 'PCLT' table...
matt$ ttx tt0003c_.ttx
Compiling "tt0003c_.ttx" to "tt0003c_#1.ttf"...
Parsing 'GlyphOrder' table...
Parsing 'head' table...
Parsing 'hhea' table...
Parsing 'maxp' table...
Parsing 'OS/2' table...
Parsing 'hmtx' table...
Parsing 'cmap' table...
Parsing 'fpgm' table...
Parsing 'prep' table...
Parsing 'cvt ' table...
Parsing 'loca' table...
Parsing 'glyf' table...
Parsing 'kern' table...
Parsing 'name' table...
Parsing 'post' table...
Parsing 'PCLT' table...
matt$ open tt0003c_#1.ttf
Font Book says:
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 33 (19 by maintainers)
Boom. It’s fixed. Nicely done! Thanks for everything.
So it was the duplicate glyphs in extra names that were the problem with ftxvalidator?
Aside: if you’re interested, those ancient Bitstream ttNNNNc_.ttf files are used on my old Sony eBook Reader but it only shipped with regular sans/serif/mono. By completing those families the device now uses the proper weights, whereas previously it synthesised b/i/bi using the regular weight. The device is also quite particular about the font names so I am using ttx to rename the Pan-European WGL4 fonts as non-WGL4 fonts. 👍
I believe ftxvalidator uses the same API as FontBook, so you can automate running the former with some shell script. you can get it from https://developer.apple.com/download/more/?=font
I don’t think it’s “open source” though
Ok. I’ll check on my Mac once I get home tonight
FontBook doesn’t complain about the original font.