GNU Info

Info Node: (kpathsea.info)Glyph lookup

(kpathsea.info)Glyph lookup


Next: Suppressing warnings Prev: File lookup Up: TeX support
Enter node , (file) or (file)node

Glyph lookup
============

  This section describes how Kpathsea searches for a bitmap font in GF
or PK format (or either) given a font name (e.g., `cmr10') and a
resolution (e.g., 600).

  Here is an outline of the search strategy (details in the sections
below) for a file NAME at resolution DPI.  The search stops at the
first successful lookup.

  1. Look for an existing file NAME.DPIFORMAT in the specified
     format(s).

  2. If NAME is an alias for a file F in the fontmap file
     `texfonts.map', look for F.DPI.

  3. Run an external program (typically named `mktexpk') to generate
     the font (Note: mktex scripts)

  4. Look for FALLBACK.DPI, where FALLBACK is some last-resort font
     (typically `cmr10').

  This is implemented in `kpse_find_glyph_format' in
`kpathsea/tex-glyph.c'.

Basic glyph lookup
Features common to all glyph lookups.
Fontmap
Aliases for fonts.
Fallback font
Resolutions and fonts of last resort.

automatically generated by info2www version 1.2.2.9