From 646f270707870ab02a3ee75b6bd1ed9244253071 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 29 Mar 2004 12:47:18 +0000 Subject: [PATCH] (dump_lookup_subtable_gsub): For Lookup Type 7, fix arg to dump_lookup_subtable_gsub. (dump_lookup_subtable_gpos): Support Lookup Type 9. --- example/otfdump.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) 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 (")"); } -- 1.7.10.4