changeset 34313:b5810f23b1b4

(bdf-read-font-info): Modify the kludgy code for fonts of wrong SIZE record.
author Kenichi Handa <handa@m17n.org>
date Thu, 07 Dec 2000 00:00:11 +0000
parents 9b30747647c8
children 8318a4ea6764
files lisp/ps-bdf.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ps-bdf.el	Wed Dec 06 23:59:53 2000 +0000
+++ b/lisp/ps-bdf.el	Thu Dec 07 00:00:11 2000 +0000
@@ -240,7 +240,7 @@
 	  (setq size (read (current-buffer)))
 	  ;; The following kludgy code is t avoid bugs of several
 	  ;; fonts which have wrong SIZE record.
-	  (and (<= size (/ (aref font-bounding-box 1) 2))
+	  (and (<= size (/ (aref font-bounding-box 1) 3))
 	       (setq size (aref font-bounding-box 1)))
 
 	  (setq default-char (bdf-search-and-read "\nDEFAULT_CHAR" nil))