Font file. How get number of glyphs

Hallo,
How get number of the glyphs from a font file (.ttf)?
Language C++.
Thanks
You could use a library such as FreeType (http://freetype.org/ ) to load the font and then find out how many glyphs it has (there should be some way to do it; you may need to do some searching around).

I see some mention of it here (#4):
http://freetype.org/freetype2/docs/tutorial/step1.html
(You'll need to download/compile the library first, of course.)
Thanks, I believe it's good!
Topic archived. No new replies allowed.