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 @@ -173,9 +177,9 @@ { FT_ULong cur_offset, new_offset, base_offset; - FT_UShort i, num_lookups; + /* FT_UShort i, num_lookups; */ TTO_GPOSHeader* gpos; - TTO_Lookup* lo; + /* TTO_Lookup* lo; */ TT_Face tt_face = (TT_Face)face; FT_Stream stream = face->stream; @@ -256,6 +260,7 @@ `MarkAttachClassDef_offset' is not zero (nevertheless, a build of a constructed mark attach table is not supported currently). */ +#if 0 if ( gdef && gdef->MarkAttachClassDef_offset && !gdef->MarkAttachClassDef.loaded ) { @@ -288,13 +293,15 @@ } } } - +#endif *retptr = gpos; return TT_Err_Ok; +#if 0 Fail1: Free_LookupList( &gpos->LookupList, GPOS, memory ); +#endif Fail2: Free_FeatureList( &gpos->FeatureList, memory ); 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 @@ -268,9 +244,9 @@ FT_ULong cur_offset, new_offset, base_offset; TT_Face tt_face = (TT_Face)face; - FT_UShort i, num_lookups; + /* FT_UShort i, num_lookups; */ TTO_GSUBHeader* gsub; - TTO_Lookup* lo; + /* TTO_Lookup* lo; */ if ( !retptr ) return TT_Err_Invalid_Argument; @@ -340,6 +316,7 @@ `MarkAttachClassDef_offset' is not zero (nevertheless, a build of a constructed mark attach table is not supported currently). */ +#if 0 if ( gdef && gdef->MarkAttachClassDef_offset && !gdef->MarkAttachClassDef.loaded ) { @@ -373,13 +350,15 @@ } } } - +#endif *retptr = gsub; return TT_Err_Ok; +#if 0 Fail1: Free_LookupList( &gsub->LookupList, GSUB, memory ); +#endif Fail2: Free_FeatureList( &gsub->FeatureList, memory );