freetype
[Top][All Lists]
Advanced

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

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


From: 786
Subject: RE: [Freetype] Re: [Devel] Getting number of shapes in Font File
Date: Mon, 9 Aug 2004 15:22:56 +0500

Yes, I meant TT_Load_GSUB_Table; I don't think this FT_Face structure is
available/ accessible in this function. 

Aamir


-----Original Message-----
From: Werner LEMBERG [mailto:address@hidden 
Sent: Monday, August 09, 2004 2:00 PM
To: address@hidden; 786
Cc: address@hidden
Subject: [Freetype] Re: [Devel] Getting number of shapes in Font File


> 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

_______________________________________________
Freetype mailing list
address@hidden
http://www.freetype.org/mailman/listinfo/freetype




reply via email to

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