Function: bdf-check-font

bdf-check-font is a byte-compiled function defined in ps-bdf.el.gz.

Signature

(bdf-check-font FONT-SPEC)

Source Code

;; Defined in /usr/src/emacs/lisp/ps-bdf.el.gz
;; Called from ps-mule-check-font.
(defun bdf-check-font (font-spec)
  (let ((font-name-list (ps-mule-font-spec-name font-spec)))
    (ps-mule-font-spec-set-name
     font-spec
     (if (stringp font-name-list)
	 (bdf-expand-file-name font-name-list)
       (catch 'tag
	 (dolist (font-name font-name-list)
	   (setq font-name (bdf-expand-file-name font-name))
	   (if font-name
	       (throw 'tag font-name))))))))