Variable: ps-mule-external-libraries

ps-mule-external-libraries is a variable defined in ps-mule.el.gz.

Value

((builtin nil nil nil nil nil nil)
 (bdf ps-bdf nil bdf-generate-prologue bdf-check-font bdf-generate-font bdf-generate-glyph)
 (pcf nil nil pcf-generate-prologue pcf-check-font pcf-generate-font pcf-generate-glyph)
 (vflib nil nil vflib-generate-prologue vflib-check-font vflib-generate-font vflib-generate-glyphs))

Documentation

Alist of external libraries information to support PostScript printing.

Each element has the form:

    (FONT-SRC FEATURE INITIALIZED-P PROLOGUE-FUNC
     CHECK-FUNC FONT-FUNC GLYPH-FUNC)

FONT-SRC is the font source: builtin, bdf, pcf, or vflib.

FEATURE is the feature that provide a facility to handle FONT-SRC. Except for builtin FONT-SRC, this feature is automatically required before handling FONT-SRC. Currently, we only have the feature ps-bdf.

INITIALIZED-P indicates if this library is initialized or not.

PROLOGUE-FUNC is a function to generate PostScript code which define several PostScript procedures that will be called by FONT-FUNC and GLYPHS-FUNC. It is called with no argument, and should return a list of strings.

CHECK-FUNC is a function to check if a font is available or not. It is called with one argument FONT-SPEC, and should return non-nil if and only if the font specified in FONT-SPEC is available.

FONT-FUNC is a function to generate PostScript code which define a new font. It is called with one argument FONT-SPEC, and should return a list of strings.

GLYPH-FUNC is a function to generate PostScript code which define glyphs of characters. It is called with two arguments FONT-SPEC and CODE, and should return a list of strings.

Source Code

;; Defined in /usr/src/emacs/lisp/ps-mule.el.gz
(defconst ps-mule-external-libraries
  '((builtin nil nil nil
	     nil nil nil)
    (bdf     ps-bdf nil bdf-generate-prologue
	     bdf-check-font bdf-generate-font bdf-generate-glyph)
    (pcf     nil nil pcf-generate-prologue
	     pcf-check-font pcf-generate-font pcf-generate-glyph)
    (vflib   nil nil vflib-generate-prologue
	     vflib-check-font vflib-generate-font vflib-generate-glyphs))
  "Alist of external libraries information to support PostScript printing.
Each element has the form:

    (FONT-SRC FEATURE INITIALIZED-P PROLOGUE-FUNC
     CHECK-FUNC FONT-FUNC GLYPH-FUNC)

FONT-SRC is the font source: builtin, bdf, pcf, or vflib.

FEATURE is the feature that provide a facility to handle FONT-SRC.  Except for
`builtin' FONT-SRC, this feature is automatically `require'd before handling
FONT-SRC.  Currently, we only have the feature `ps-bdf'.

INITIALIZED-P indicates if this library is initialized or not.

PROLOGUE-FUNC is a function to generate PostScript code which define several
PostScript procedures that will be called by FONT-FUNC and GLYPHS-FUNC.  It is
called with no argument, and should return a list of strings.

CHECK-FUNC is a function to check if a font is available or not.
It is called with one argument FONT-SPEC, and should return non-nil if and
only if the font specified in FONT-SPEC is available.

FONT-FUNC is a function to generate PostScript code which define a new font.
It is called with one argument FONT-SPEC, and should return a list of strings.

GLYPH-FUNC is a function to generate PostScript code which define glyphs of
characters.  It is called with two arguments FONT-SPEC and CODE, and should
return a list of strings.")