diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-08-01 18:32:28 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-08-01 18:32:28 +0200 |
commit | 88ac10891b3163be0bd748a3abbd66252d45ecc1 (patch) | |
tree | 6bf8ce575bb0898dec6218392191e1f5e5ced42a /debian/patches/console_ignore_bdf_err.patch | |
parent | bf8b133e9ed35e5bec866bf308e609d8fb000502 (diff) |
Ignore erroneous number of glyphs in bdf files
* debian/patches/console_ignore_bdf_err.patch: New patch to ignore erroneous
number of glyphs in bdf files.
Diffstat (limited to 'debian/patches/console_ignore_bdf_err.patch')
-rw-r--r-- | debian/patches/console_ignore_bdf_err.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/console_ignore_bdf_err.patch b/debian/patches/console_ignore_bdf_err.patch new file mode 100644 index 00000000..c3ea30cb --- /dev/null +++ b/debian/patches/console_ignore_bdf_err.patch @@ -0,0 +1,17 @@ +reduce-font overestimates the number of characters in the font. + +diff --git a/console-client/bdf.c b/console-client/bdf.c +index 30501f4..ee8aa30 100644 +--- a/console-client/bdf.c ++++ b/console-client/bdf.c +@@ -415,8 +415,10 @@ bdf_read (FILE *filep, bdf_font_t *font, int *linecount) + glyphs. */ + if (!strcmp (line, "ENDFONT")) + { ++ /* + if (parser.glyphs != bdf->glyphs_count) + err = BDF_COUNT_MISMATCH; ++ */ + done = 1; + } + else |