The device description file is desc_file rather than the default DESC. The effect of this option is to add the special command to the font file. These parameters are normally needed only for italic (or oblique) fonts.ĭon’t output a ligatures command for this font. Where ps_char is the PostScript name of the character, and n is the desired value of the corresponding parameter in thousandths of an em. ItalicCorrectionps charn leftItalicCorrectionps charn subscriptCorrectionps charn If the –i option is used, afmtodit will automatically generate an italic correction, a left italic correction, and a subscript correction for each character (the significance of these parameters is explained in groff_font(5)) these parameters may be specified for individual characters by adding to the afm_file lines of the form: If there is a downloadable font file for the font, it may be listed in the file /usr/lib/groff/font/devps/download see grops(1). The groff_font file will be output to a file called font. If a PostScript character is in the encoding to be used for the font but is not mentioned in map_file, then afmtodit will put it in the groff font file as an unnamed character, which can be accessed by the \N escape sequence in troff. Where ps_char is the PostScript name of the character and groff_char is the groff name of the character (as used in the groff font file.) The same ps_char can occur multiple times in the file each groff_char must occur, at most, once. map_file is a file that says which groff character names map onto each PostScript character name this file should contain a sequence of lines of the form: afm_file is the AFM (Adobe Font Metric) file for the font. afmtodit is written in Perl you must have Perl version 3 installed in order to run afmtodit. param must be one of the following:Īfmtodit creates a font file for use with groff and grops. Like the existing quantities in the font file, each value is in inches/res for a font whose point size is unitwidth. The res and unitwidth arguments should be the same as the corresponding parameters in the DESC file font is the name of the file describing the font if font ends with I, the font will be assumed to be italic.Įach of the f options changes one of the parameters that is used to derive the heights and depths. The main information added is the heights and depths of characters. The information added is guessed using some parametric information about the font and assumptions about the traditional troff names for characters.
The font file with the information added is written on the standard output. Note that these can be different from page to page.Īddftinfo-Add information to troff font files for use with groffĪddftinfo res unitwidth fontĪddftinfo reads a troff font file and adds some additional font-metric information that is used by the groff system.
NETSIM 10 KEEPS SAYING INCOMPLETE COMMANDS MANUAL
Look at the header of the manual page for the author(s) and copyright conditions.
This section introduces and describes user commands.