Go to the first, previous, next, last section, table of contents.


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 `MakeTeXPK') to generate the font (see section `MakeTeX' 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'.


Go to the first, previous, next, last section, table of contents.