For a given ttf
or otf
font, how to get meta information? Information such as how many glyphs were used, what tool was used, what version of font we have, its label, etc?
For windows machine, I have seen this tool. But for Ubuntu/Linux, I couldn't find any!
Linux – View number of glyphs in a given font for Linux
fontslinux
Best Answer
There is a simple solution that you can use. You will need Perl and libfont-ttf-perl package :
The only thing you need to do is to save this script to a file, call it throught Perl and give it as a parameter the path of the font you want to count the glyphs :
It seems to work for TTF and OTF formats. Hope it helps.