diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-06-13 00:04:07 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-06-13 00:04:07 +0000 |
commit | 10183b70c1ea603a2297eebe33997035755e7ea9 (patch) | |
tree | b44fde198aec07f3812b3896b620c3e037d30335 /app/fonttosfnt/write.c | |
parent | 7f042b920dcac43488276d61940e79f0baece3ca (diff) |
Update to fonttosfnt version 1.0.4.
Diffstat (limited to 'app/fonttosfnt/write.c')
-rw-r--r-- | app/fonttosfnt/write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/fonttosfnt/write.c b/app/fonttosfnt/write.c index 42ccec36f..318adeff5 100644 --- a/app/fonttosfnt/write.c +++ b/app/fonttosfnt/write.c @@ -358,7 +358,7 @@ writeDir(FILE *out, FontPtr font, int numTables, unsigned *tables) writeULONG(out, 0x10000); /* version */ writeUSHORT(out, numTables); /* numTables */ writeUSHORT(out, 16 * ti); /* searchRange */ - writeUSHORT(out, i - 1); /* entrySelector */ + writeUSHORT(out, i); /* entrySelector */ writeUSHORT(out, 16 * (numTables - ti)); /* rangeShift */ /* see fixupDir */ @@ -1030,7 +1030,7 @@ writeOS2(FILE* out, FontPtr font) static int writePCLT(FILE* out, FontPtr font) { - char name[16] = XVENDORNAME" font "; + char name[16] = "X11 font "; char filename[6] = "X11R00"; unsigned char charComplement[8] = {0xFF, 0xFF, 0xFF, 0xFF, 0x0B, 0xFF, 0xFF, 0xFE}; |