(tds.info)Fonts


Next: Non-font Metafont files Prev: Macros Up: Top-level directories
Enter node , (file) or (file)node

3.2 Fonts
=========

Font files are stored in separate directories, segregated by file type,
and then (in most cases) font supplier and typeface.  PK and GF files
need additional structure, as detailed in the next section.

     texmf/fonts/TYPE/SUPPLIER/TYPEFACE/
     texmf/fonts/enc,lig,map/SUBPATH/

   * `TYPE' is the type of font file. The TDS reserves the following
     `TYPE' names for common TeX file types:

        * `afm', for Adobe font metrics, and `inf' files.

        * `gf', for generic font bitmap files.

        * `opentype', for OpenType fonts.

        * `pk', for packed bitmap files.

        * `source', for font sources (Metafont files, property lists,
          etc.).

        * `tfm', for TeX font metric files.

        * `truetype', for TrueType fonts.

        * `type1', for PostScript Type 1 fonts (in `pfa',       `pfb',
          or any other format), and `pfm' files.

        * `type3', for PostScript Type 3 fonts.

        * `vf', for virtual fonts.

     The TDS also reserves the names `enc', `lig', and `map' for font
     encoding, ligature, and mapping files, respectively.  All of these
     directories are structured the same way, with `SYNTAX'
     subdirectories, and then `PACKAGE' subsubdirectories.  Each of
     these file types is intended to be searched along its own
     recursively-searched path.  The names of the actual files must be
     unique within their subtree, as usual.  Examples:
          fonts/map/dvipdfm/updmap/dvipdfm.map
          fonts/map/dvips/lm/lm.map
          fonts/enc/dvips/base/8r.enc

     The Fontname and Dvips packages have more examples of the `enc' and
     `map' types.  The `afm2pl' program uses `lig' files.

     `pfm' files are included in the `type1' directory, instead of
     being given their own directory, for two reasons: 1) a `.pfm' file
     is always an adjunct to a given `.pfb' file; 2) they must be
     installed from the same directory for Windows programs other than
     TeX to use them.

     `inf' files are included in the `afm' directory, since an `inf'
     and `afm' file can be used to generate a `pfm'.  (Unfortunately,
     Adobe Type Manager and perhaps other software requires that the
     `pfb' be in the same directory as `afm' and `inf' for
     installation.)

     As usual, a site may omit any of these directories that are
     unnecessary.  `gf' is a particularly likely candidate for omission.

   * `SUPPLIER' is a name identifying font source (examples: `adobe',
     `ams', `public'). The TDS reserves the following `SUPPLIER' names:

        * `ams', for the American Mathematical Society's AMS-fonts
          collection.

        * `local', for local additions. See Section Note: Local
          additions.

        * `public', for freely redistributable fonts where the supplier
          neither (1) requested their own directory (e.g., `ams'), nor
          (2) also made proprietary fonts (e.g., `adobe').  It does not
          contain all extant freely distributable fonts, nor are all
          files therein necessarily strictly public domain.

        * `tmp', for dynamically-generated fonts, as is traditional on
          some systems. It may be omitted if unnecessary, as usual.


   * `TYPEFACE' is the name of a typeface family (examples: `cm',
     `euler', `times'). The TDS reserves the following `TYPEFACE' names:

        * `cm' (within `public'), for the 75 fonts defined in
          `Computers and Typesetting, Volume E'.

        * `latex' (within `public'), for those fonts distributed with
          LaTeX in the base distribution.

        * `local', for local additions. See Section Note: Local
          additions.



   Some concrete examples:
     texmf/fonts/source/public/pandora/pnr10.mf
     texmf/fonts/tfm/public/cm/cmr10.tfm
     texmf/fonts/type1/adobe/utopia/putr.pfa

   For complete supplier and typeface name lists, consult `Filenames
for TeX fonts' (see Appendix Note: Related references).

Font bitmaps
Valid font bitmaps

automatically generated by info2www version 1.2.2.9