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
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to