[Top][All Lists]

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

Re: [Devel] [BUG] We cannot handle face_index using OTC/TTC fonts

From: Steve Hartwell
Subject: Re: [Devel] [BUG] We cannot handle face_index using OTC/TTC fonts
Date: Tue, 20 Apr 2004 00:10:04 -0700

On Apr 19, 2004, at 1:26 AM, Werner LEMBERG wrote:
This won't work: WinFNT files can also have face index values > 0, so
the test for a valid font format must be done first before checking
for a valid face index.  Chisato's patch is just fine.

Thanks for the clarification. I had forgotten that even 'foreign' files will pass through tt_face_load_sfnt_header() in the process of determining the font format.

I see now that my patch to tt_face_load_sfnt_header() would have returned SFNT_Err_Bad_Argument for WinFNT files with a face index > 0 instead of the expected error code SFNT_Err_Unknown_File_Format.

On Apr 18, 2004, at 5:34 AM, Chisato Yamauchi wrote:
  Your patch is more suitable.

No, I'm happy to say that I understand that your patch is the correct one.

Thanks for the collaboration,

Best regards,

Steve Hartwell

reply via email to

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