summaryrefslogtreecommitdiff
path: root/write.c
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2008-03-13 13:19:11 -0400
committerJames Cloos <cloos@jhcloos.com>2008-03-13 13:19:11 -0400
commitbbab34919743990bf87935480092f7644f8f02fc (patch)
tree82a19b35cad096585b50eb32fc8e7785513a9171 /write.c
parent5bf16aed7ba59559a636552811f7267d79a746bb (diff)
I’m not sure the PCLT table is needed by the fonts generated here, but
use a fixed 16 char string as the initializer for the PCLT Fontname field to silence the warning (or error for some compilers) as reported in bugzilla: http://bugs.freedesktop.org/show_bug.cgi?id=3928
Diffstat (limited to 'write.c')
-rw-r--r--write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/write.c b/write.c
index 42ccec3..7da3869 100644
--- a/write.c
+++ b/write.c
@@ -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};