Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 6 Converting to print RTF > 6.9 Specifying font usage > 6.9.3 Specifying font types

### 6.9.3 Specifying font types

Font types are critical to correct Word handling of characters in fonts that FrameMaker considers to be “symbol”, but that are not among the common symbol fonts (Symbol, WingDings, and Zapf Dingbats). This font-type information is essential in the RTF font list; Word might produce errors if the information is incorrect. Mif2Go provides default font types for the fonts listed in Table 6-3.

Table 6-3 Default font types and metrics for RTF

Font | Type | Metric
Arial | 2 | 138
Arial Narrow | 2 | 115
AvantGarde | 2 | 144
Bookman | 1 | 150
Bullets | 5 | 180
CommonBullets | 5 | 180
Courier | 3 | 144
Courier New | 3 | 144
Dingbats | 5 | 180
Garamond | 1 | 145
Helvetica | 2 | 138
Helvetica-Black | 2 | 155
Helvetica-Light | 2 | 130
Helvetica-Narrow | 2 | 115
Korinna | 1 | 140
MS Serif | 1 | 144
NewCenturySchlbk | 1 | 135
Palatino | 1 | 141
Symbol | 6 | 130
Times | 1 | 134
Times New Roman | 1 | 120
Webdings | 5 | 180
Wingdings | 5 | 180
ZapfChancery | 4 | 121
ZapfDingbats | 5 | 180

Mif2Go uses the font metrics shown in Table 6-3 to convert tabs; see §6.8.4 Altering font metrics to adjust tabs.

If your document contains fonts other than those listed in Table 6-3, you can determine their types as follows:

1. In Word, create a document that uses those fonts.

2. Save the document as RTF.

3. Look at the RTF in a text editor to find the RTF type number and name associated with each font. The font table is at the start of the RTF, and looks something like this:

{\fonttbl

{\f1 \froman \fcharset0 Times New Roman;}

{\f2 \fswiss \fcharset0 Arial Rounded MT Bold;}

{\f3 \fswiss \fcharset0 Arial;}

{\f4 \fmodern \fcharset0 Courier New;}

{\f5 \fswiss \fcharset0 Arial Narrow;}

{\f6 \ftech \fcharset2 Symbol;}

{\f7 \fdecor \fcharset2 Wingdings;}}

The \f N number at the beginning of each entry is the type number. Table 6-4 shows the type number, type name, font family, and character-set encoding for each font type.

Table 6-4 RTF font types and font families

Type | Type name | Font family | Encoding
0 | fnil | Unknown or default fonts | fcharset0
1 | froman | Roman, proportionally spaced serif fonts | fcharset0
2 | fswiss | Swiss, proportionally spaced sans serif fonts | fcharset0
3 | fmodern | Monospaced serif and sans serif fonts | fcharset0
4 | fscript | Script fonts | fcharset0
5 | fdecor | Decorative fonts | fcharset2
6 | ftech | Technical, symbol, and mathematical fonts | fcharset2
7 | fbidi | Arabic, Hebrew, and other bidirectional fonts | fcharset0

4. Specify the font name and type number in the configuration file. For example:

[FontTypes]

; Font name = type number (0 to 7)

Arial Rounded MT Bold=2

See also:

§6.9.4 Specifying font encoding for non-Western characters

§6.9.5 Specifying font encoding for FrameMaker 8 Unicode