ref: abb33121ee8fc2f3fcc5182a7e9a5be97b2e4946
parent: be32b168ac42e670e1a8c5c614cce4c3f8232829
author: Behdad Esfahbod <[email protected]>
date: Sun Nov 8 05:00:34 EST 2015
[sfnt] Accept version 3 of `EBLC' and `CBLC' tables also. * src/sfnt/ttsbit.c (tt_face_load_sbit): Implement it.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
-2015-11-06 Philipp Knechtges <[email protected]>
+2015-11-08 Behdad Esfahbod <[email protected]>
+
+ [sfnt] Accept version 3 of `EBLC' and `CBLC' tables also.
+
+ * src/sfnt/ttsbit.c (tt_face_load_sbit): Implement it.
+
+2015-11-08 Philipp Knechtges <[email protected]>
[autofit] Don't distort (latin) glyphs too much (#46195).
--- a/src/sfnt/ttsbit.c
+++ b/src/sfnt/ttsbit.c
@@ -104,7 +104,8 @@
version = FT_NEXT_LONG( p );
num_strikes = FT_NEXT_ULONG( p );
- if ( ( (FT_ULong)version & 0xFFFF0000UL ) != 0x00020000UL )
+ if ( ( (FT_ULong)version & 0xFFFF0000UL ) != 0x00020000UL &&
+ ( (FT_ULong)version & 0xFFFF0000UL ) != 0x00030000UL )
{
error = FT_THROW( Unknown_File_Format );
goto Exit;