Variable: ps-mule-font-info-database
ps-mule-font-info-database is a variable defined in ps-mule.el.gz.
Value
nil
Documentation
Alist of charsets with the corresponding font information.
Each element has the form:
(CHARSET (FONT-TYPE FONT-SRC FONT-NAME ENCODING BYTES) ...)
Where
CHARSET is a charset (symbol) for this font family,
FONT-TYPE is a font type: normal, bold, italic, or bold-italic.
FONT-SRC is a font source: builtin, bdf, vflib, or nil.
If FONT-SRC is builtin, FONT-NAME is a built-in PostScript font name.
If FONT-SRC is bdf, FONT-NAME is a BDF font file name, or a list of
alternative font names. To use this font, the external library ps-bdf
is required.
If FONT-SRC is vflib, FONT-NAME is the name of a font that VFlib knows.
To use this font, the external library vflib is required.
If FONT-SRC is nil, a proper ASCII font in the variable
ps-font-info-database is used. This is useful for Latin-1 characters.
ENCODING is a coding system to encode a string of characters of CHARSET into a proper string matching an encoding of the specified font. ENCODING may be a function that does this encoding. In this case, the function is called with one argument, the string to encode, and it should return an encoded string.
BYTES specifies how many bytes each character has in the encoded byte sequence; it should be 1 or 2.
All multi-byte characters are printed by fonts specified in this database regardless of a font family of ASCII characters. The exception is Latin-1 characters which are printed by the same font as ASCII characters, thus obey font family.
See also the variable ps-font-info-database.
Source Code
;; Defined in /usr/src/emacs/lisp/ps-mule.el.gz
(defvar ps-mule-font-info-database
nil
"Alist of charsets with the corresponding font information.
Each element has the form:
(CHARSET (FONT-TYPE FONT-SRC FONT-NAME ENCODING BYTES) ...)
Where
CHARSET is a charset (symbol) for this font family,
FONT-TYPE is a font type: normal, bold, italic, or bold-italic.
FONT-SRC is a font source: builtin, bdf, vflib, or nil.
If FONT-SRC is builtin, FONT-NAME is a built-in PostScript font name.
If FONT-SRC is bdf, FONT-NAME is a BDF font file name, or a list of
alternative font names. To use this font, the external library `ps-bdf'
is required.
If FONT-SRC is vflib, FONT-NAME is the name of a font that VFlib knows.
To use this font, the external library `vflib' is required.
If FONT-SRC is nil, a proper ASCII font in the variable
`ps-font-info-database' is used. This is useful for Latin-1 characters.
ENCODING is a coding system to encode a string of characters of CHARSET into a
proper string matching an encoding of the specified font. ENCODING may be a
function that does this encoding. In this case, the function is called with
one argument, the string to encode, and it should return an encoded string.
BYTES specifies how many bytes each character has in the encoded byte
sequence; it should be 1 or 2.
All multi-byte characters are printed by fonts specified in this database
regardless of a font family of ASCII characters. The exception is Latin-1
characters which are printed by the same font as ASCII characters, thus obey
font family.
See also the variable `ps-font-info-database'.")