Add support for ChainContextSubstFormat3.

Mon Jul 19 17:09:11 2004  Owen Taylor  <otaylor@redhat.com>

        * pango/opentype/disasm.c: Add support for
        ChainContextSubstFormat3.
This commit is contained in:
Owen Taylor 2004-07-19 21:13:23 +00:00 committed by Owen Taylor
parent d4f773ef92
commit 81b62af423
1 changed files with 15 additions and 1 deletions

View File

@ -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