From: handa Date: Mon, 29 Mar 2004 12:47:18 +0000 (+0000) Subject: (dump_lookup_subtable_gsub): For Lookup Type X-Git-Tag: REL-0-9-1~71 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=646f270707870ab02a3ee75b6bd1ed9244253071;p=m17n%2Flibotf.git (dump_lookup_subtable_gsub): For Lookup Type 7, fix arg to dump_lookup_subtable_gsub. (dump_lookup_subtable_gpos): Support Lookup Type 9. --- diff --git a/example/otfdump.c b/example/otfdump.c index 0ff9dec..7d1d4d9 100644 --- a/example/otfdump.c +++ b/example/otfdump.c @@ -866,8 +866,7 @@ dump_lookup_subtable_gsub (int indent, int index, unsigned type, subtable->u.extension1.ExtensionOffset); dump_lookup_subtable_gsub (indent, index, subtable->u.extension1.ExtensionLookupType, - (subtable - + subtable->u.extension1.ExtensionOffset)); + subtable->u.extension1.ExtensionSubtable); break; case 8: @@ -1090,6 +1089,21 @@ dump_lookup_subtable_gpos (int indent, int index, unsigned type, else printf (" invalid"); break; + + case 9: + if (subtable->Format == 1) + { + IPRINT ("(ExtensionLookupType %d)", + subtable->u.extension1.ExtensionLookupType); + IPRINT ("(ExtensionOffset %d)", + subtable->u.extension1.ExtensionOffset); + dump_lookup_subtable_gpos + (indent, index, + subtable->u.extension1.ExtensionLookupType, + subtable->u.extension1.ExtensionSubtable); + } + else + printf (" invalid"); } printf (")"); }