From 81b62af42313fb60db523374cd8c6901829f5c4e Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 19 Jul 2004 21:13:23 +0000 Subject: [PATCH] Add support for ChainContextSubstFormat3. Mon Jul 19 17:09:11 2004 Owen Taylor * pango/opentype/disasm.c: Add support for ChainContextSubstFormat3. --- src/disasm.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 (ChainContextSubstFormat2) 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 -- 2.7.4