Add support for ChainContextSubstFormat3.
Mon Jul 19 17:09:11 2004 Owen Taylor <otaylor@redhat.com>
* pango/opentype/disasm.c: Add support for
ChainContextSubstFormat3.
diff --git a/src/disasm.c b/src/disasm.c
index 01e5fb8..a49aa3f 100644
--- a/src/disasm.c
+++ b/src/disasm.c
@@ -384,7 +384,21 @@
DEF_DUMP (ChainContextSubstFormat3)
{
- DUMP("Not implemented!!!\n");
+ int i;
+
+ DUMP_FUINT (ChainContextSubstFormat3, BacktrackGlyphCount);
+ for (i = 0; i < ChainContextSubstFormat3->BacktrackGlyphCount; i++)
+ RECURSE (BacktrackCoverage, Coverage, &ChainContextSubstFormat3->BacktrackCoverage[i]);
+ DUMP_FUINT (ChainContextSubstFormat3, InputGlyphCount);
+ for (i = 0; i < ChainContextSubstFormat3->InputGlyphCount; i++)
+ RECURSE (InputCoverage, Coverage, &ChainContextSubstFormat3->InputCoverage[i]);
+ DUMP_FUINT (ChainContextSubstFormat3, LookaheadGlyphCount);
+ for (i = 0; i < ChainContextSubstFormat3->LookaheadGlyphCount; i++)
+ RECURSE (LookaheadCoverage, Coverage, &ChainContextSubstFormat3->LookaheadCoverage[i]);
+
+ for (i = 0; i < ChainContextSubstFormat3->SubstCount; i++)
+ RECURSE_NUM (SubstLookupRecord, i, SubstLookupRecord, &ChainContextSubstFormat3->SubstLookupRecord[i]);
+
}
static void