-ftt:
Indicate the file describing the map of TeX fonts to TrueType fonts(Property Sheets->[Font2]).
On each line in the file, the TeX font and the corresponding font (which should be defined in jfm/tfm in [WinJFont]) is written separeted by spaces or tabs.
To use subfonts for the correspondence of fonts and codes, the location of SFD files of subfonts are indicated by -TEXSUBF: and the font name in TeX replacing last two digit numbers by "@" followed by the corresponding SFD filename replacing the extension .sfd by "@" is written in place of the simple TeX font name.
If '/' followed with the character(s) I, B, U, O, R, C are put just after the corresponding font, then the attribute(s) Italic, Bold, Underline, StrikeOut, Regular, Unicode are indicated.
The atributes Underline and Strikeout are only valid if [Graphic]->color specials (-cmode:) is patch2. The cases are ignored.
Moreover (<num>) indicates the number of the character set. Moreove [<num>] indicates the code page of the font and it is used to transform the character codes into unicode.
The above can be also indicated after the font name by writing Italic, Bold, Underline, Regular, UniCode, JIS2Uni, CID2Uni etc. and ANSI, Arabic, Baltic, ChineseBig5, default, EastEurope, GB2312, Greek, Hanguel, Hebrew, Johab, Mac, OEM, Russian, ShiftJIS, Symbol, Turkish, Thai, Vietnames for the character set.
JIS2Uni, CID2Uni mean to translate from jis code and CID code, respectively, into unicode. In these cases, Unicode should not be indicated.
The cases are ignored.
The character '-' is indicated not to use the TrueType font.
The line starting with one of the characters % ; or # is ignored. But # is used for the definition of parameters if this is read by propw (Attached Programs).
If the content of a line is %skip, then the following lines are ignored until the line with the content %endskip appears.
Moreover the file can read other files to write the filename after the keyword %input. If the filename starts with '$', there shows no Warning even if the file cannot be found. The attached ttfonts.map has a line
%input $user.map
and the user can make $user.map for extra data. This extra data will not be overwritten by the version up of dviout.
This is an example:
%sample
wtmr "Times New Roman" regular
wtmri "Times New Roman" italic
wtmb "Times New Roman" bold
wtmbi "Times New Roman" italic,bold
symbol symbol unicode,symbol
jbtm@UKS@ Gulim unicode
The above means the same as the following
%sample
wtmr "Times New Roman/R"
wtmri "Times New Roman/I"
wtmb "Times New Roman/B"
wtmbi "Times New Roman/IB"
symbol symbol/C(2)
jbtm@UKS@ Gulim/C
A definiton of a font where Unicode is indicated, the definiton is ignored unless the Windows system is Windows2000/XP or later.
A map to the path of the Europian TrueType font can be indicated. This means that dviout expand the fonts by its inner routine not by Windows API. In this case, the corresponding tfm file should be searched by -TEXPK: and its directory should be indicated by -TEXROOT:. For example
wnsr8r ^w\fonts\times.ttf
If the code-index table for 2 byte code (Format 4) is used, /1 can be added as an option (for BaKoMa, Times New Roman etc.) and /5 for Symbol fonts. If the one with 1 byte code (Format 0) is used, /4 can be added (for some fonts used by TeX). Moreove the number is larger than 256, it is considerd to be the code page number.
For example
wnsr8r ^w\fonts\times.ttf/1
If the mapping file is indicated, the transformation by the map is applied preceeding the correspondence in [WinJFont]. Hence if edeault is defined in [WinJFont], any TrueType font defined in Windows can be written for the font in TeX (cf. Q_F14).
Remark: In the package of dviout, the default mapping file ttfonts.map is contained. If an original mapping file is used, it is recommended to use a different name because ttfonts.map in the directory of dviout may be overwritten by the installation of dviout.