freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] a cosmetic cut-and-paste bug in the new font var code, an


From: Werner LEMBERG
Subject: Re: [ft-devel] a cosmetic cut-and-paste bug in the new font var code, and another issue
Date: Sun, 16 Apr 2017 07:34:02 +0200 (CEST)

> I found a cut-and-paste bug in the new font var code, [...]

Applied, thanks!

> FT_Get_Char_Index: too large charcode 0xdd31bbc4 is truncated
> TT_Load_Glyph: glyph index 0
>   failed (error code 0x24)
> 
> I don't know why it should throw Invalid_Size_Handle, when it is
> really that glyph id 0 is missing/broken?  In any case, the real
> problem is that the charcode I passed was wrong and garbage.  I wish
> the non-debug error code is more informative than
> Invalid_Size_Handle.  Invalid size handle was misleading, as I kept
> looking at FT_Set_Sizes/FT_Set_Pixel_Size instead of looking at what
> charcode are being passed in FT_Load_Char.

I agree that an invalid charcode shouldn't cause an `invalid size
handle' error.  However, it's hard to further comment the issue
without having some demo code, so please provide something that I can
compile and debug.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]