From: Kenichi Handa Date: Thu, 7 Dec 2000 00:00:11 +0000 (+0000) Subject: (bdf-read-font-info): Modify the kludgy code for fonts X-Git-Tag: emacs-pretest-21.0.93~128 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1c3cea113313ace314f32269a79e208234e8f030;p=emacs.git (bdf-read-font-info): Modify the kludgy code for fonts of wrong SIZE record. --- diff --git a/lisp/ps-bdf.el b/lisp/ps-bdf.el index 0261ccbf553..441584607de 100644 --- a/lisp/ps-bdf.el +++ b/lisp/ps-bdf.el @@ -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))