summaryrefslogtreecommitdiff
path: root/fonttools
diff options
context:
space:
mode:
authorpfaedit <pfaedit>2007-10-28 22:58:00 +0000
committerpfaedit <pfaedit>2007-10-28 22:58:00 +0000
commitcb820ab392c3ff6307c972757da621581976414e (patch)
treec12221b75ec35be043b9d3c1e9ddb3cb15cdb667 /fonttools
parent33e1163b474b5677375cfdddd7e2a19c2c42c85b (diff)
Move to having libspiro live in its own package
http://libspiro.sf.net/
Diffstat (limited to 'fonttools')
-rw-r--r--fonttools/showttf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fonttools/showttf.c b/fonttools/showttf.c
index c10d6636..56240402 100644
--- a/fonttools/showttf.c
+++ b/fonttools/showttf.c
@@ -2464,7 +2464,7 @@ static void gposPairSubTable(FILE *ttf, int which, int stoffset, struct ttfinfo
free(ps_offsets);
} else if ( subformat==2 ) {
printf( "\t Class based kerning (not displayed)\n" );
- PrintGlyphs( showCoverageTable(ttf,stoffset+coverage,cnt),info);
+ PrintGlyphs( showCoverageTable(ttf,stoffset+coverage,-1),info);
} else {
printf( "\t !!! unknown sub-table format !!!!\n" );
}
@@ -2501,7 +2501,7 @@ static void gposMarkToBaseSubTable(FILE *ttf, int which, int stoffset, struct tt
printf( "\t Mark Offset=%d\n", markoff = getushort(ttf));
printf( "\t Base Offset=%d\n", baseoff = getushort(ttf));
printf( "\t Mark Glyphs\n" );
- mglyphs = showCoverageTable(ttf,stoffset+mcoverage, classcnt);
+ mglyphs = showCoverageTable(ttf,stoffset+mcoverage, -1); /* Class cnt is not the count of marks */
printf( "\t Base Glyphs\n" );
bglyphs = showCoverageTable(ttf,stoffset+bcoverage, -1);
fseek(ttf,stoffset+baseoff,SEEK_SET);