[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Missing glyphs vs. invisible glyphs for certain characters
From: |
J Decker |
Subject: |
Re: [ft] Missing glyphs vs. invisible glyphs for certain characters |
Date: |
Fri, 4 Dec 2015 06:23:45 -0800 |
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 <address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype
>