Re: FT_Render_Glyph returning error INVALID_OUTLINE

Werner LEMBERG <[email protected]> Fri, 17 Sep 2021 08:44:28 +0000 (UTC)
Newsgroups gmane.comp.fonts.freetype.user,gmane.comp.fonts.freetype.devel
Message-ID <[email protected]>
> Well, you loop from 16 to 35, mapping those values to itself, then
> calling `FT_Get_Char_Index` to get glyph indices.  However, all cmaps
> in the font start with character code 0x20 (decimal 32) followed by
> character code 0x24 (decimal 36).  Consequently, you get glyph index 0
> for all values except 0x32.

Typo: For all values except 0x20.


     Werner