From 1ef2d84a1155246efb7e2077cbcc37f96bfddb20 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 25 Jul 2006 01:05:18 +0000 Subject: =?UTF-8?q?Bug=20347073=20=E2=80=93=20Allow=20empty=20GPOS=20table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2006-07-24 Behdad Esfahbod Bug 347073 – Allow empty GPOS table * pango/opentype/ftxopen.c (FT_Load_ScriptList): Don't err on empty GPOS/GSUB tables. --- ChangeLog | 11 +++++++++-- pango/opentype/ftxopen.c | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e8728db8..ca8f748a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,13 +1,20 @@ +2006-07-24 Behdad Esfahbod + + Bug 347073 – Allow empty GPOS table + + * pango/opentype/ftxopen.c (FT_Load_ScriptList): Don't + err on empty GPOS/GSUB tables. + 2006-07-17 Richard Hult - Bug 322374 ? Examples does not build on MacOS X (merge from HEAD). + Bug 322374 – Examples does not build on MacOS X (merge from HEAD). * pango/Makefile.am (libpangocairo_1_0_la_LDFLAGS): Add the necessary frameworks to make this build with -no-undefined. 2006-07-17 Richard Hult - Bug 347021 ? atsui crash when a matching font cannot be found. + Bug 347021 – atsui crash when a matching font cannot be found. Patch from Brian Tarricone. * pango/pangoatsui-fontmap.c (pango_atsui_font_map_load_font): diff --git a/pango/opentype/ftxopen.c b/pango/opentype/ftxopen.c index 8afb8f2c..c1e20511 100644 --- a/pango/opentype/ftxopen.c +++ b/pango/opentype/ftxopen.c @@ -250,11 +250,13 @@ (void)FILE_Seek( cur_offset ); } + /* if ( sl->ScriptCount == 0 ) { error = TTO_Err_Invalid_SubTable; goto Fail; } + */ return TT_Err_Ok; -- cgit v1.2.1