Copyright (C) 2000-2012 |
GNU Info (dvips.info)Virtual fontsVirtual fonts ------------- A "virtual font" is constructed by extracting characters from one or more existing fonts and rearranging them, or synthesizing new characters in various ways. The explanation in this manual is intended to suffice for understanding enough about virtual fonts to use them with Dvips. It isn't a reference manual on virtual fonts. For more information: The primary document on virtual fonts is Donald E. Knuth, `TUGboat' 11(1), Apr. 1990, pp. 13-23, "Virtual Fonts: More Fun for Grand Wizards" (`CTAN:/info/virtual-fonts.knuth'; for CTAN info, *note unixtex.ftp: (kpathsea)unixtex.ftp.). (Don't be intimidated by the subtitle.) A virtual font (`.vf') file specifies, for each character in the virtual font, a recipe for typesetting that character. A VF file, like a TFM file, is in a compressed binary format. The `vftovp' and `vptovf' programs convert a VF file to a human-readable VPL (virtual property list) format and back again. *Note vftovp invocation: (web2c)vftovp invocation, and Note: vptovf invocation. In the case of a PostScript font F being used in a straightforward way, the recipe says: character I in the VF font is character J in font F. The font F is called a "base font". For example, the VF file could remap the characters of the PostScript font to the positions where TeX expects to find them. Note: Encodings. Since TeX reads only TFM files, not VF's, each VF must have a corresponding TFM for use with TeX. This corresponding TFM is created when you run `vptovf'. You can "expand" virtual fonts into their base fonts with DVIcopy (Note: dvicopy invocation.). This is useful if you are using a DVI translator that doesn't understand vf's itself. automatically generated by info2www version 1.2.2.9 |