freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Detect all available characters in a font?


From: jklint
Subject: [ft-devel] Detect all available characters in a font?
Date: Sat, 20 Nov 2010 21:54:46 -0800

Is there any way to detect all the available characters in a loaded font?  It would be convenient if I had some way to do this:
 
for (i=0; i<FT_Font_CountChars(font); i++ )
{
    c = FT_Font_GetChar( i );
    //Proceed to load character 'c'...
}
 
That way I don't have to guess what characters the user might want to use, I can just load all the ones the font contains.
 
 
Best Regards,
 
Josh Klint
CEO
Leadwerks Software

reply via email to

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