diff options
author | James Cloos <cloos@jhcloos.com> | 2008-03-13 13:19:11 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2008-03-13 13:19:11 -0400 |
commit | bbab34919743990bf87935480092f7644f8f02fc (patch) | |
tree | 82a19b35cad096585b50eb32fc8e7785513a9171 /write.c | |
parent | 5bf16aed7ba59559a636552811f7267d79a746bb (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}; |