]> git.eshelyaron.com Git - emacs.git/commitdiff
(bdf-read-font-info): Modify the kludgy code for fonts
authorKenichi Handa <handa@m17n.org>
Thu, 7 Dec 2000 00:00:11 +0000 (00:00 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 7 Dec 2000 00:00:11 +0000 (00:00 +0000)
of wrong SIZE record.

lisp/ps-bdf.el

index 0261ccbf553e688b079cf745b4daba0aeaea62b4..441584607de5ab27dc3e9c481861567ae304edcf 100644 (file)
@@ -240,7 +240,7 @@ CODE, where N and CODE are in the following relation:
          (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))