mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
(bdf-read-bitmap): Initialize returned values to
defaults.
This commit is contained in:
parent
ae16d111d8
commit
0240cfba7b
@ -359,8 +359,11 @@ The value is a list of DWIDTH, BBX, and BITMAP-STRING.
|
||||
DWIDTH is a pixel width of a glyph.
|
||||
BBX is a bounding box of the glyph.
|
||||
BITMAP-STRING is a string representing bits by hexadecimal digits."
|
||||
(let ((coding-system-for-read 'no-conversion)
|
||||
dwidth bbx height yoff bitmap-string)
|
||||
(let* ((coding-system-for-read 'no-conversion)
|
||||
(bbx (elt (bdf-get-font-info bdfname) 4))
|
||||
(dwidth (elt bbx 0))
|
||||
(bitmap-string "")
|
||||
height yoff)
|
||||
(condition-case nil
|
||||
(with-temp-buffer
|
||||
(insert-file-contents bdfname nil offset (+ offset maxlen))
|
||||
|
Loading…
Reference in New Issue
Block a user