diff -uprw /home/otaylor/cvs/gnome2/pango-head/pango/opentype/ftxgpos.c ./opentype-munge/ftxgpos.c --- /home/otaylor/cvs/gnome2/pango-head/pango/opentype/ftxgpos.c 2003-07-25 12:59:44.000000000 -0400 +++ ./opentype-munge/ftxgpos.c 2003-07-25 12:55:55.000000000 -0400 @@ -3518,8 +3522,10 @@ /* We check whether the specific class is used at all. If not, class 0 is used instead. */ + /* if ( !d[c[n]] ) c[n] = 0; + */ } FORGET_Frame(); @@ -4560,9 +4564,10 @@ /* We check whether the specific class is used at all. If not, class 0 is used instead. */ - + /* if ( !d[b[n]] ) b[n] = 0; + */ } FORGET_Frame(); @@ -4594,8 +4599,10 @@ { i[n] = GET_UShort(); + /* if ( !d[i[n]] ) i[n] = 0; + */ } FORGET_Frame(); @@ -4627,8 +4634,10 @@ { l[n] = GET_UShort(); + /* if ( !d[l[n]] ) l[n] = 0; + */ } FORGET_Frame(); diff -uprw /home/otaylor/cvs/gnome2/pango-head/pango/opentype/ftxgsub.c ./opentype-munge/ftxgsub.c --- /home/otaylor/cvs/gnome2/pango-head/pango/opentype/ftxgsub.c 2003-07-25 12:59:44.000000000 -0400 +++ ./opentype-munge/ftxgsub.c 2003-07-25 12:55:55.000000000 -0400 @@ -1688,10 +1643,13 @@ { c[n] = GET_UShort(); + /* ### see comment in Load_ChainSubClassRule */ /* We check whether the specific class is used at all. If not, class 0 is used instead. */ + /* if ( !d[c[n]] ) c[n] = 0; + */ } FORGET_Frame(); @@ -2732,11 +2689,14 @@ { b[n] = GET_UShort(); + /* ### no idea what these two lines were ment to do. The break eg. mangal.ttf. + same is IMO true below. */ /* We check whether the specific class is used at all. If not, class 0 is used instead. */ - + /* if ( !d[b[n]] ) b[n] = 0; + */ } FORGET_Frame(); @@ -2768,8 +2728,10 @@ { i[n] = GET_UShort(); + /* if ( !d[i[n]] ) i[n] = 0; + */ } FORGET_Frame(); @@ -2801,8 +2763,10 @@ { l[n] = GET_UShort(); + /* if ( !d[l[n]] ) l[n] = 0; + */ } FORGET_Frame();