Hmm, I'll be compiling with FT_DEBUG_LEVEL_ERROR, but how do I use ftdebug?

If you mean FT_DEBUG_LEVEL_TRACE, being on android, stdout isn't really
routed anywhere easily visible.


On Tue, Jun 17, 2014 at 1:21 AM, suzuki toshiya <mpsuz...@hiroshima-u.ac.jp>
wrote:

> 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
> > Freetype@nongnu.org
> > https://lists.nongnu.org/mailman/listinfo/freetype
>
>


-- 

Yose Widjaja
twitter: @jormy
y...@jormy.com
+61 413 916 553
_______________________________________________
Freetype mailing list
Freetype@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to