int ctl_gfx_find_glyph(const CTL_GFX_BITMAP_FONT_t *font,
                       int ch,
                       CTL_GFX_GLYPH_t *glyph);

ctl_gfx_find_glyph finds the gly with UCS code ch in the raster font font and assigns glyph information to object pointer to by glyph. glyph can be zero, indicating that the additional information is not required.

Return Value

ctl_gfx_find_glyph returns zero if the glyph cannot be found and non-zero if the glyph is found.