freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Getting number of shapes in Font File


From: Werner LEMBERG
Subject: Re: [Devel] Getting number of shapes in Font File
Date: Mon, 09 Aug 2004 10:59:45 +0200 (CEST)

> For some reason, I need to know the number of shapes in the font
> file in FTXGSUB.C's function load_GSUB.

There is no function called `load_GSUB'.  Do you mean
`TT_Load_GSUB_Table;?

> Can you please send me the code for getting
> the number of glyphs in the font file?

After loading a font in FreeType 2, the number of glyphs is available
in the FT_Face structure, element `num_glyphs'.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]