Don't err on Table_Missing.
2006-03-25 Behdad Esfahbod <behdad@gnome.org> * pango/opentype/ottest.c: Don't err on Table_Missing.
This commit is contained in:
parent
434833b1b7
commit
dd2a8d4d49
|
@ -240,7 +240,7 @@ main (int argc, char **argv)
|
||||||
if ((error = TT_Done_GSUB_Table (gsub)))
|
if ((error = TT_Done_GSUB_Table (gsub)))
|
||||||
croak ("FT_Done_GSUB_Table", error);
|
croak ("FT_Done_GSUB_Table", error);
|
||||||
}
|
}
|
||||||
else
|
else if (error != FT_Err_Table_Missing)
|
||||||
fprintf (stderr, "TT_Load_GSUB_Table %x\n", error);
|
fprintf (stderr, "TT_Load_GSUB_Table %x\n", error);
|
||||||
|
|
||||||
if (!(error = TT_Load_GPOS_Table (face, &gpos, NULL)))
|
if (!(error = TT_Load_GPOS_Table (face, &gpos, NULL)))
|
||||||
|
@ -250,7 +250,7 @@ main (int argc, char **argv)
|
||||||
if ((error = TT_Done_GPOS_Table (gpos)))
|
if ((error = TT_Done_GPOS_Table (gpos)))
|
||||||
croak ("FT_Done_GPOS_Table", error);
|
croak ("FT_Done_GPOS_Table", error);
|
||||||
}
|
}
|
||||||
else
|
else if (error != FT_Err_Table_Missing)
|
||||||
fprintf (stderr, "TT_Load_GPOS_Table %x\n", error);
|
fprintf (stderr, "TT_Load_GPOS_Table %x\n", error);
|
||||||
|
|
||||||
printf ("</OpenType>\n");
|
printf ("</OpenType>\n");
|
||||||
|
|
Loading…
Reference in New Issue