I am using the function calls
"FT_Render_Glyph(Face->glyph, ft_render_mode_normal)" to render a
given glyph into a bitmap of type "FT_Bitmap". However, what I need to
do is to know the maximum possible size that the bitmap can be before hand. Can
this be achieved without simply looping throught all of the glyphs and rendering
them during the initialisation phase of my program, since this will obviously
take time. Is there a quick was to do this
Alternatively, if I have to loop through all of the glyphs
then I can determine the total number of glyphs by using
"Face->num_glyphs". However, I have tried to render all
glyphs from 0 to "Face->num_glyphs - 1" but my program crashes. How
can I tell whether I can render a given glyph index and has anyone got any code
to do this calculation successfully?
Thanks in advance for you help.