(fontname.info)Long naming scheme


Prev: Name mapping file Up: Long names
Enter node , (file) or (file)node

3.2 A naming scheme for long names
==================================

Once we allow ourselves long names, we can construct a naming scheme to
handle arbitrary fonts without much difficulty.  Here is one proposal,
based on the X Window System font naming conventions.

     SUPPLIER-FAMILY-WEIGHT-VARIANTS-WIDTH-ENCODING--SIZE

   SUPPLIER is the usual `Adobe', `Autologic', etc., as well as
`unknown' or `bizarre'--this last meaning the rest of the name is
nonstandard.  If the SUPPLIER is missing, i.e., the name starts with a
`-', "public domain" is assumed.  For fonts made by individuals, the
initials of the designer would probably make a good SUPPLIER.

   FAMILY is `ComputerModern' or `Times' or whatever.

   Everything else is optional.  The `--' before the SIZE lets one
specify a name with, say, a weight and variants, but then skip the
WIDTH and ENCODING, but still be able to give a size.

   WEIGHT and WIDTH are as described earlier.

   If there is more than one variant, they are separated with some
character other than `-', say `=':
     B+H-Lucida-Bold-Sans=Typewriter--10

   ENCODING is what Metafont calls the `font_coding_scheme'--the layout
of the characters in the font.  For example, `Cork' or `ISOLatin1' or
`AdobeAlternate'.

   Names are case-sensitive, for consistency with the rest of TeX and
with PostScript, etc.  Spaces cannot be used in the name, to make it
easier for TeX to parse.  Likewise, characters with default category
codes other than 11 (letter) or 12 (other) should not be used.

   Another possibility is to forget all the above, and simply use the
vendor's name (perhaps prefixed by the vendor): `Times-Roman'.


automatically generated by info2www version 1.2.2.9