diff options
-rw-r--r-- | tools/convbdf.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c index 4dfc0595bb..b7790416a7 100644 --- a/tools/convbdf.c +++ b/tools/convbdf.c | |||
@@ -464,10 +464,6 @@ int bdf_read_header(FILE *fp, struct font* pf) | |||
464 | /* calc font size (offset/width entries) */ | 464 | /* calc font size (offset/width entries) */ |
465 | pf->firstchar = firstchar; | 465 | pf->firstchar = firstchar; |
466 | pf->size = lastchar - firstchar + 1; | 466 | pf->size = lastchar - firstchar + 1; |
467 | if (pf->size < pf->nchars) { | ||
468 | fprintf(stderr, "Error: NCHARS and max code mismatch\n"); | ||
469 | return 0; | ||
470 | } | ||
471 | 467 | ||
472 | /* use the font boundingbox to get initial maxwidth */ | 468 | /* use the font boundingbox to get initial maxwidth */ |
473 | /*maxwidth = pf->fbbw - pf->fbbx;*/ | 469 | /*maxwidth = pf->fbbw - pf->fbbx;*/ |