Function: ps-mule-check-font

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

Signature

(ps-mule-check-font FONT-SPEC)

Documentation

Check if a font specified in FONT-SPEC is available or not.

Source Code

;; Defined in /usr/src/emacs/lisp/ps-mule.el.gz
(defun ps-mule-check-font (font-spec)
  "Check if a font specified in FONT-SPEC is available or not."
  (let ((font-src (ps-mule-font-spec-src font-spec)))
    (or (not font-src)
	(let ((exlib (assq font-src ps-mule-external-libraries)))
	  (ps-mule-init-external-library exlib)
	  (or (not (ps-mule-exlib-check exlib))
	      (funcall (ps-mule-exlib-check exlib) font-spec))))))