Function: bdf-set-cache
bdf-set-cache is a byte-compiled function defined in ps-bdf.el.gz.
Signature
(bdf-set-cache FONT-INFO)
Documentation
Cache FONT-INFO as information about one BDF font file.
FONT-INFO is a list of the following format:
(ABSOLUTE-FILE-NAME MOD-TIME SIZE FONT-BOUNDING-BOX
RELATIVE-COMPOSE BASELINE-OFFSET CODE-RANGE MAXLEN OFFSET-VECTOR)
See the documentation of the function bdf-read-font-info for more detail.
Source Code
;; Defined in /usr/src/emacs/lisp/ps-bdf.el.gz
(defun bdf-set-cache (font-info)
"Cache FONT-INFO as information about one `BDF' font file.
FONT-INFO is a list of the following format:
(ABSOLUTE-FILE-NAME MOD-TIME SIZE FONT-BOUNDING-BOX
RELATIVE-COMPOSE BASELINE-OFFSET CODE-RANGE MAXLEN OFFSET-VECTOR)
See the documentation of the function `bdf-read-font-info' for more detail."
(let ((slot (assoc (car font-info) bdf-cache)))
(if slot
(setcdr slot (cdr font-info))
(setq bdf-cache (cons font-info bdf-cache)))))