Changes

Jump to navigation Jump to search
820 bytes added ,  14:25, 17 March 2011
→‎Type 1 fonts: Added notes about the various file extensions, and legacy Mac wierdness.
= Font support & configuration =
== Type 1 fonts ==
 
Type 1 fonts come in multiple files. The various components are:
 
* '''.pfb''': "PostScript Font, Binary".
* '''.pfa''': "PostScript Font, ASCII".
* '''.pfm''': "PostScript Font Metrics", binary.
* '''.afm''': "ASCII Font Metrics".
 
Typically each font will have a set of outlines in a pfb or pfa file, and a set of metrics in a pfm or afm file.
 
Usually you need the pfb and pfm files, and can throw away the rest.
 
On the Mac, you may encounter old-style PostScript Type 1 fonts which have an extensionless file containing the font outlines. These are a relic from the days when bitmaps were used to display fonts on screen, and the PostScript was downloaded to the printer. Your best bet is to throw them away and get an up-to-date OpenType version, or use a font editing utility such as fontforge to convert them.
 
* Using [[psnfss]] metrics in ConTeXt
* Matt Gushee's introduction to [http://havenrock.com/textips/bookfonts.html virtual fonts], especially for getting expert fonts to work.
18

edits

Navigation menu