freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Apple 'sbix' color font fixups


From: Behdad Esfahbod
Subject: Re: [ft-devel] Apple 'sbix' color font fixups
Date: Fri, 19 Jul 2013 12:46:27 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

On 13-07-19 08:29 AM, Werner LEMBERG wrote:
> 
>> Thanks for pushing out my 'sbix' patch.  I'm attaching a small patch
>> of followup fixes.  With these I can use 'sbix' fonts normally.
> 
> Applied, thanks.

Thanks.  One last fix.  Apparently USHORT version numbers are to be considered
"minor".  As such:

diff --git a/src/sfnt/ttsbit.c b/src/sfnt/ttsbit.c
index c147251..74992c5 100644
--- a/src/sfnt/ttsbit.c
+++ b/src/sfnt/ttsbit.c
@@ -141,7 +141,7 @@

         FT_FRAME_EXIT();

-        if ( version != 1 )
+        if ( version < 1 )
         {
           error = FT_THROW( Unknown_File_Format );
           goto Exit;


-- 
behdad
http://behdad.org/



reply via email to

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