Function: hfy-cmap--parse-buffer

hfy-cmap--parse-buffer is a byte-compiled function defined in hfy-cmap.el.gz.

Signature

(hfy-cmap--parse-buffer BUFFER)

Source Code

;; Defined in /usr/src/emacs/lisp/hfy-cmap.el.gz
(defun hfy-cmap--parse-buffer (buffer)
  (with-current-buffer buffer
    (let ((end-of-rgb 0)
          result)
      (goto-char (point-min))
      (htmlfontify-unload-rgb-file)
      (while (/= end-of-rgb 1)
        (if (looking-at hfy-rgb-regex)
            (push (list (match-string 4)
                        (string-to-number (match-string 1))
                        (string-to-number (match-string 2))
                        (string-to-number (match-string 3)))
                  result))
        (setq end-of-rgb (forward-line)))
      result)))