[sfnt] Fix `sbix' table version handling.

* src/sfnt/ttsbit.c (tt_face_load_sbit) [TT_SBIT_TABLE_TYPE_SBIX]:
USHORT version numbers are to be considered as `minor'.
This commit is contained in:
Behdad Esfahbod 2013-07-20 08:02:39 +02:00 committed by Werner Lemberg
parent 05c1421f8d
commit ff269528ca
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2013-07-20 Behdad Esfahbod <behdad@google.com>
[sfnt] Fix `sbix' table version handling.
* src/sfnt/ttsbit.c (tt_face_load_sbit) [TT_SBIT_TABLE_TYPE_SBIX]:
USHORT version numbers are to be considered as `minor'.
2013-07-19 Werner Lemberg <wl@gnu.org>
[autofit] Fix segment classification for blue zones.

View File

@ -141,7 +141,7 @@
FT_FRAME_EXIT();
if ( version != 1 )
if ( version < 1 )
{
error = FT_THROW( Unknown_File_Format );
goto Exit;