summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/convbdf.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c
index c75b5fb444..5cd45d0583 100644
--- a/tools/convbdf.c
+++ b/tools/convbdf.c
@@ -1000,7 +1000,7 @@ int gen_h_header(struct font* pf, char *path)
1000 "#define SYSFONT_FIRST_CHAR %d\n" 1000 "#define SYSFONT_FIRST_CHAR %d\n"
1001 "#define SYSFONT_LAST_CHAR %d\n" 1001 "#define SYSFONT_LAST_CHAR %d\n"
1002 "#define SYSFONT_DEFAULT_CHAR %d\n" 1002 "#define SYSFONT_DEFAULT_CHAR %d\n"
1003 "#define SYSFONT_PROPORTIONAL %s\n" 1003 "#define SYSFONT_PROPORTIONAL %d\n"
1004 "#define SYSFONT_COPYRIGHT %s\n" 1004 "#define SYSFONT_COPYRIGHT %s\n"
1005 "#define SYSFONT_BITS_SIZE %d\n" 1005 "#define SYSFONT_BITS_SIZE %d\n"
1006 "\n" 1006 "\n"
@@ -1019,14 +1019,17 @@ int gen_h_header(struct font* pf, char *path)
1019 fprintf(ofp, hdr1, buf, 1019 fprintf(ofp, hdr1, buf,
1020 pf->name, 1020 pf->name,
1021 pf->facename? pf->facename: "", 1021 pf->facename? pf->facename: "",
1022 pf->maxwidth, pf->height, 1022 pf->maxwidth,
1023 pf->height,
1023 pf->size, 1024 pf->size,
1024 pf->ascent, pf->descent, 1025 pf->ascent,
1026 pf->descent,
1025 pf->firstchar, 1027 pf->firstchar,
1026 pf->firstchar+pf->size-1, 1028 pf->firstchar+pf->size-1,
1027 pf->defaultchar, 1029 pf->defaultchar,
1028 pf->width? 1: 0, 1030 pf->width? 1: 0,
1029 pf->copyright? pf->copyright: ""); 1031 pf->copyright? pf->copyright: "",
1032 pf->bits_size);
1030 1033
1031 return 0; 1034 return 0;
1032} 1035}