freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] FT_New_Memory_Face crashes


From: Louis Desjardins
Subject: Re: [ft-devel] FT_New_Memory_Face crashes
Date: Thu, 8 Sep 2011 10:02:13 -0700

That's a great troubleshooting tip - thank-you. Using this causes the function to succeed in Android - so I am embarrassed to say that the problem is on my end afterall :s
I will take it from here, thanks for all the help!

> Date: Thu, 8 Sep 2011 06:42:34 +0200
> To: address@hidden
> CC: address@hidden; address@hidden
> Subject: Re: [ft-devel] FT_New_Memory_Face crashes
> From: address@hidden
>
>
> > The main difference between the standalone and Android app is the
> > way that the input TTF file is read in, however I verified that my
> > TTF file is read in correctly in Android, by writing out the buffer
> > that I read in to a new file, and then comparing the original with
> > this - they are identical.
>
> What about putting the font into a static buffer, this is, converting
> the font into something like this:
>
> const char* font = { 0x01, 0x05, 0x03, ... }
>
> This could eliminate one possible source of error.
>
>
> Werner

reply via email to

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