# [Font]

<- Property Sheets The important specifications of fonts are made on this sheet.
By pressing [Save], the specifications are saved in the Registry. By pressing [Apply], the specifications are applied to the current session. If you want the stored values in the Registry as the defaults at start-up, you should check all of the corresponding options on the [REGISTRY] sheet by pressing
[Auto Load] and Save on the [REGISTRY] sheet.
-TEXROOT: this specifies the string that is substituted for the ^r string in specifications of -TEXPK: and -TEXFONTS:.
-TEXPK: This is the most important parameter in dviout. This parameter specifies the locations of European language PK fonts, European Language TrueType Fonts, Japanese JX4 format fonts, and the Japanese jfm files. You must specify this parameter to run dviout.
Warning: Do not specify the European language tfm file for this parameter if possible except for the tfm file of the TrueType Font to be used.
In particular, do not have European language tfm files in the same directory as the Japanese language jfm files. If you have these in the same directory, make another new directory and move all the jfm files to that directory. Then specify that directory in -TEXPK:.
You should refer to the "Examples of TEXPK Settings". If the function for guessing for the font location by [Guess] is used, the -TEXROOT:, -TEXPK:, and -L: (and -F: is some case) can be specified almost automatically.
-TEXFONTS: This specifies the directory name containing the tfm files. If you want replace by space characters in correct size for missing PK fonts when you have only the tfm files, you should specify this parameter.
If you want to replace by space characters for Japanese fonts also, you should specify the location of the jfm file for this parameter.
Example
-TEXROOT:^T\fonts
-TEXPK:^r\pk\^s.^dpk;^r\public\pk\^s.^dpk;^r\ptex\jfm\^s.tfm
-TEXFONTS:^r\tmf;^r\jfm
-F: specification determines how to substitute for each missing font when dviout cannot find the font in -TEXPK: directories (Handling Missing Fonts).
-FB:()This is used with -F: and specifies how to substitute for the missing fonts.
The missing font is replaced by one specified by -F:.
size
The missing font is replaced by one specified by -F: as above. If the dpi of the replaced font is different from that of the missing one, the size is adjusted. If the substituted font is the same font type but has a different dpi, the size would be correct.
The missing font is replace by space characters. The size of the space is calculated from metric information of the font specified by -F:. If the substitute is the same font type but has a different dpi, the replaced space becomes the correct size.
box
The missing font is replaced by a black box. The size of the box is calculated from the metric information of the font specified by -F:.
When -F: is specified to font metric file (tfm file or jfm file), the missing font is always replaced by spaces even if -FB: is specified (if black box is specified, black box is substituted).
Example
-F:.300
-FB: adjust size
This shows that only fonts of a 300 dpi resolution are used and the size is enlarged and reduced when necessary.
-L:(longname)The method for truncating a font name longer than 8 characters is specified (cf. Q_F4: for lcircle10).
part No truncation ()
part Truncate end ()
part Cut middle ()
Font Check: By selecting the font in the combo box on the lower right and pressing the [Check] button, you can check whether the -TEXROOT: and -TEXPK: settings are correct or not.