[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] FT_Load_Glyph returns an error
From: |
Werner LEMBERG |
Subject: |
Re: [ft] FT_Load_Glyph returns an error |
Date: |
Sat, 12 Nov 2016 16:47:42 +0100 (CET) |
> The FreeType error code is "36". How to know the meaning of this
> FreeType error code please?
Value 36 is 0x24. Looking into file `fterrdef.h' you can find
FT_ERRORDEF_( Invalid_Size_Handle, 0x24,
"invalid size handle" )
> Here is the new code: [...]
And indeed, you have forgotten to set a proper size (with
`FT_Set_Char_Size', for example) before calling `FT_Load_Glyph'.
Werner