Bug 347073 – Allow empty GPOS table
2006-07-24 Behdad Esfahbod <behdad@gnome.org> Bug 347073 – Allow empty GPOS table * pango/opentype/harfbuzz-open.c (_HB_OPEN_Load_ScriptList): Don't err on empty GPOS/GSUB tables.
This commit is contained in:
parent
52481a5c55
commit
f726b20e56
|
@ -241,11 +241,16 @@ FT_Error _HB_OPEN_Load_ScriptList( HB_ScriptList* sl,
|
||||||
(void)FILE_Seek( cur_offset );
|
(void)FILE_Seek( cur_offset );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Empty tables are harmless and generated by fontforge.
|
||||||
|
* See http://bugzilla.gnome.org/show_bug.cgi?id=347073
|
||||||
|
*/
|
||||||
|
#if 0
|
||||||
if ( sl->ScriptCount == 0 )
|
if ( sl->ScriptCount == 0 )
|
||||||
{
|
{
|
||||||
error = HB_Err_Invalid_SubTable;
|
error = HB_Err_Invalid_SubTable;
|
||||||
goto Fail;
|
goto Fail;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return FT_Err_Ok;
|
return FT_Err_Ok;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue