mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
(bdf-read-font-info): Modify the kludgy code for fonts
of wrong SIZE record.
This commit is contained in:
parent
73481ae314
commit
1c3cea1133
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user