From dd2a8d4d490df1d310e7553ba6c7c8de661f28a1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 25 Mar 2006 23:52:30 +0000 Subject: [PATCH] Don't err on Table_Missing. 2006-03-25 Behdad Esfahbod * pango/opentype/ottest.c: Don't err on Table_Missing. --- src/ottest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ottest.c b/src/ottest.c index d82c9a9b6..b0f4fd6b6 100644 --- a/src/ottest.c +++ b/src/ottest.c @@ -240,7 +240,7 @@ main (int argc, char **argv) if ((error = TT_Done_GSUB_Table (gsub))) croak ("FT_Done_GSUB_Table", error); } - else + else if (error != FT_Err_Table_Missing) fprintf (stderr, "TT_Load_GSUB_Table %x\n", error); 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))) croak ("FT_Done_GPOS_Table", error); } - else + else if (error != FT_Err_Table_Missing) fprintf (stderr, "TT_Load_GPOS_Table %x\n", error); printf ("\n");