freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Problem with OptaneCompactExtrabold.fam font suitcase


From: mpsuzuki
Subject: Re: [ft-devel] Problem with OptaneCompactExtrabold.fam font suitcase
Date: Thu, 14 Feb 2008 12:03:59 +0900

Hi,

I checked google but all OptaneCompactExtraBold I could
download were for Windows TTF (including only 1 face).
Could you tell me where I can download the suitcase version?

Regards,
mpsuzuki

On Sat, 02 Feb 2008 12:42:06 -0700
Deron Kazmaier <address@hidden> wrote:
>A Mac user provided to me a font suitcase file 
>(OptaneCompactExtrabold.fam) that crashes FreeType (2.3.5 and latest 
>CVS) when referencing face index #3. I tracked it down to the first call 
>in FT_New_Face_From_SFNT (ftmac.c).
>
>    sfnt = GetResource( FT_MAKE_TAG( 's', 'f', 'n', 't' ), sfnt_id );
>    if ( ResError() )
>      return FT_Err_Invalid_Handle;
>
>GetResource would return 0, but ResError did not return true. Checking 
>for a NULL handle was required to get FreeType to skip it without crashing.
>
>    if ( sfnt == NULL || ResError() )
>      return FT_Err_Invalid_Handle;
>
>I can now access the 7 faces that is reported to be inside with this change.
>Hope that is helpful.




reply via email to

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