freetype
[Top][All Lists]
Advanced

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

Re: [ft] FT_Load_Glyph and invalid argument (error 6)


From: suzuki toshiya
Subject: Re: [ft] FT_Load_Glyph and invalid argument (error 6)
Date: Tue, 17 Jun 2014 00:21:58 +0900
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)

Please build FreeType2 in debugging mode (see docs/DEBUG)
and check how the error occurs.

Regards,
mpsuzuki

Yose Widjaja wrote:
> Hello All,
> 
> I just recently ported my codebase to android (from linux) and when my 
> code got to the point of:
> 
>          int glyph_index = FT_Get_Char_Index(face, moo);
>          if(glyph_index != 0){
>               FT_Load_Glyph(face, glyph_index, 0); // returns 6
> 
> it returns error 6, which seems to mean "Invalid Argument".
> 
> I've checked the "face" argument, and it has been initialized with 
> FT_New_Memory_Face properly (the file size input was non zero, it 
> returned zero etc).
> 
> The fonts used were identical with the one in linux. What other 
> potential errors could I have been missing?
> 
> I've checked both the library and header versions of freetype, and both 
> are 2.5.3.
> 
> Can anyone point me to the right direction?
> 
> Cheers
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freetype mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/freetype




reply via email to

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