Re: [ft] Missing glyphs vs. invisible glyphs for certain characters

2015-12-04 Thread Lawrence D'Oliveiro
On Fri, 4 Dec 2015 10:25:05 -0500, Preet wrote: > I am using both Harfbuzz and ICU to do my text shaping and layout. It > doesn't change that I still need to manually go through the text, > look out for these characters and ensure they aren't drawn at all. My > thought process was more like a LF,

Re: [ft] Missing glyphs vs. invisible glyphs for certain characters

2015-12-04 Thread Preet
Hi all, Thanks for the clarifications. On Fri, Dec 4, 2015 at 9:51 AM, Adam Twardoch (List) wrote: > For Unicode text layout, apps should use a Unicode text processing library > such as ICU, and a glyph layout library such as Harfbuzz before querying > FreeType for glyph images. > I am using b

Re: [ft] Missing glyphs vs. invisible glyphs for certain characters

2015-12-04 Thread Adam Twardoch (List)
Ps. It's similar to the division between HTML and CSS. CSS is used in HTML but can be used in other XML dialects as well (SVG). CSS has no knowledge in which elements or pseudoselectors are valid in HTML5, and should not differentiate between "valid" and "invalid" HTML tags, or presume some spec

Re: [ft] Missing glyphs vs. invisible glyphs for certain characters

2015-12-04 Thread Adam Twardoch (List)
FreeType is correct. Its purpose is to display the characters associated with character codes in a given font. Note that the character codes passed to FT_Get_Char_Index are not necessarily Unicode: they can be any FT_Charmap object defined in the font. There is still a number of encoding syste

Re: [ft] Missing glyphs vs. invisible glyphs for certain characters

2015-12-04 Thread J Decker
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 wrote: > Hi all > > I've tried a few fonts out and I seem to be getting the same behaviour: The > zer

Re: [ft] Missing glyphs vs. invisible glyphs for certain characters

2015-12-04 Thread Nikolay Sivov
On 04.12.2015 16:48, Preet 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 show

[ft] Missing glyphs vs. invisible glyphs for certain characters

2015-12-04 Thread Preet
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'