Yes 'invisible' glyphs use the default 0 index character.  This is
true for any missing character.  Control characters have to be handled
by the renderer....

On Fri, Dec 4, 2015 at 5:48 AM, Preet <[email protected]> wrote:
> Hi all
>
> I've tried a few fonts out and I seem to be getting the same behaviour: The
> zero index is returned for a few glyphs that I thought would be 'invisible'
> such as line feed or tab when I call FT_Get_Char_Index(...). After
> rendering, the zero index glyph shows up as the visible 'missing glyph'
> symbol.
>
> Is this expected behavior? When rendering is it normal to go through the
> text and get rid of these characters before getting glyphs from FreeType?
> I'm aware FreeType isn't laying out the text, but I guess I thought the
> layout characters would have invisible glyphs.
>
>
> Preet
>
> _______________________________________________
> Freetype mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/freetype
>

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to