summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-07-19 21:13:23 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-07-19 21:13:23 +0000
commitd107a0c5a2b37104b317578b63271f4e3589feaa (patch)
tree8cb52a2824ed4ee4d5203c14522a13dc5ac05d89 /pango
parentcd2801363e9bf8f4d15c2d3d7fb4a164c7f53067 (diff)
downloadpango-d107a0c5a2b37104b317578b63271f4e3589feaa.tar.gz
Add support for ChainContextSubstFormat3.
Mon Jul 19 17:09:11 2004 Owen Taylor <otaylor@redhat.com> * pango/opentype/disasm.c: Add support for ChainContextSubstFormat3.
Diffstat (limited to 'pango')
-rw-r--r--pango/opentype/disasm.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/pango/opentype/disasm.c b/pango/opentype/disasm.c
index 01e5fb8d..a49aa3f8 100644
--- a/pango/opentype/disasm.c
+++ b/pango/opentype/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