TTF2TFM(1) General Commands Manual TTF2TFM(1) (NAME) ttf2tfm - TeX TrueType (SYNOPSIS) ttf2tfm ttffile[.ttf|.ttc] [-c caps-height-factor] [-e extension-factor] [-E encoding-id] [-f font-index] [-l] [-L ligature-file[.sfd]] [-n] [-N] [-O] [-p inencfile[.enc]] [-P platform-id] [-q] [-r old-glyphname new-glyphname] [-R replacement-file[.rpl]] [-s slant-factor] [-t outencfile[.enc]] [-T inoutencfile[.enc]] [-u] [-v vplfile[.vpl]] [-V scvplfile[.vpl]] [-w] [-x] [-y vertical-shift-factor] [tfmfile[.tfm]] ttf2tfm --version | --help (kerning) TrueType TeX ( afm2tfm dvips info ). TrueType (glyph) TrueType TeX . : ( <<>> <<>>) TrueType TeX ( ttf2tfm ttf2pk) ( <<>> <<>>) TeX () TeX kerning (ligature) TeX . LaTeX ( T1 OT1) PK . CJKV (/// ) ( SUBFONT DEFINITION FILES ). (PARAMETERS) afm2tfm . . . -c caps-height-factor (small caps) -V. 0.8 (uppercase) . subfont . -e extension-factor . 1.0 1.0 (condensed) . -E encoding-id (encoding ID) TrueType. 1 . -N . -f font-index TrueType (TrueType Collection). ( 0) . [ TrueType CJK `.ttc'.] TrueType . -l (ligature) . : 0xABCD 123 45 . ligature 45 0xAB 0xCD 123 . HLaTeX . TrueType ligature cmap . HLaTeX TTF 3 5 . subfont . -L ligature-file -l ligature ligature-file . `-L KS-HLaTeX' TrueType ligature HLaTeX ( KS-HLaTeX.sfd ttf2pk ). ligature SFD . subfont . -n PS () TrueType. cmap . subfont . -N PS TrueType. cmap -E -P . subfont . -O (octal) VPL CJK `A` . -p inencfile TTF->raw TeX. (: ttfonts.map) ttf2pk.cfg ttf2pk . subfont . -P platform-id (platform ID) TrueType. 3 . -N . -q ttf2tfm. . CJK . -r old-glyphname new-glyphname old-glyphname new-glyphname. ( `.gXXX` `.cXXX` ) . `.gXXX` `.cXXX` new-glyphname -r . subfont ..TP -R replacement-file `.rpl' . : `old-glyphname new-glyphname' ( ) . . subfont . -s slant-factor 1 . 0.0 . -t outencfile () . TeX . subfont . -T inoutencfile `-p inoutencfile -t inoutencfile'. subfont . -u . ttf2tfm ( ). subfont . -v vplfile VPL TFM. ttf2tfm (cmtt10) . : ! subfont . -V scvplfile -v small caps 0.8 ( -c ) . (accented) (kerning) . subfont . -w PostScript TrueType pdfTeX . ttf2tfm TFM .enc foo01.tfm foo02.tfm ... foo01.enc foo02.enc ... . subfont . -x . -y 0.25em . subfont . -y vertical-shift-factor ( em ). subfont . --version ttf2tfm ( kpathsea) . --help . TFM TTF `.tfm' . Type 1 PostScript ( CID PostScript) TrueType `cmap' () TTF () TTF . Unicode Macintosh . TrueType -P -E . -P (platform ID) : platform platform ID (pid) ---------------------------------- Apple Unicode 0 Macintosh 1 ISO 2 Microsoft 3 . pid=0 -E ( ) Unicode 2.0 . pid=1 : platform ID = 1 script encoding ID (eid) ---------------------------------- Roman 0 Japanese 1 Chinese 2 Korean 3 Arabic 4 Hebrew 5 Greek 6 Russian 7 Roman Symbol 8 Devanagari 9 Gurmukhi 10 Gujarati 11 Oriya 12 Bengali 13 Tamil 14 Telugu 15 Kannada 16 Malayalam 17 Sinhalese 18 Burmese 19 Khmer 20 Thai 21 Laotian 22 Georgian 23 Armenian 24 Maldivian 25 Tibetan 26 Mongolian 27 Geez 28 Slavic 29 Vietnamese 30 Sindhi 31 Uninterpreted 32 ISO : platform ID = 2 encoding encoding ID (eid) ASCII 0 ISO 10646 1 ISO 8859-1 2 Microsoft: platform ID = 3 encoding encoding ID (eid) Symbol 0 Unicode 2.0 1 Shift JIS 2 GB 2312 (1980) 3 Big 5 4 KS X 1001 (Wansung) 5 KS X 1001 (Johab) 6 UCS-4 10 / . pid/eid . cmap pid/eid (1,0) (3,0) (3,1) . Microsoft (3,1) ( ) cmap (3,1) Unicode . MS Windows cmap (3,1) ( Unicode Microsoft MS Windows ). -P -E ttf2tfm ttf2pk (map file) `Pid' `Eid' . pid/eid (3,1) . -f `Fontindex' . -N cmap PostScript TrueType . `PS=Only' . -n ttf2tfm PS . . `PS=Yes' . -r `old-glyphname new-glyphname' -R `Replacement' . TrueType TeX TeX TeX afm2tfm . [ << >> PostScript T1-WGL4.enc .] afm2tfm Adobe `/quotedsingle' `/Acircumflex'. ttf2tfm ( ) / : `/.c' `/.c0' `/.c0x'. : `/.c72' `/.c0646' `/.c0x48'. (glyph index) `c' `g' . : `/.g0x32'. [: -N `.cXXX' .] pid/eid (1,0) (3,1) ttf2tfm ttf2pk Adobe E `Inside Macintosh' 6 TrueType ( WGL4 Unicode) . Adobe PS `mu' WGL4 `mu1' mu . OpenType ( TrueType 2.0) WGL4 TrueType (1.66) . ttfenc.c . -n -N ttf2tfm Adobe PostScript TrueType ( `post') . -r -R . TrueType cmap TeX ( -q ttf2tfm ) cmap . pid/eid (1,0) TeX : 0x00 (null) 0x08 (backspace) 0x09 (horizontal tabulation) 0x0d (carriage return) 0x1d (group separator). << >> 0 . -N TrueType PostScript . : `.notdef' `.null' `nonmarkingreturn'. ttf2tfm afm2tfm ( texenc.c ) (typewriter) TeX . ( TrueType) ( ) ( -q ttf2tfm ). -u . afm2tfm T1 LaTeX : ttf2tfm `Germandbls' ( `S') . . . `/.notdef' . `\' . . CJKV (/// ) TeX (subfonts) . ( `.sfd') . (prefix) (infix) (postfix - ) : ntukai23 -> prefix: ntukai infix: 23 postfix: () SFD : := (whitespace). - . := (space) (formfeed) (carriage return) -- (newline). := | | := := `_' := `:' := ( `0x') ( `0') . 0-255 . : 03 10: 0x2349 0x2345_0x2347 0x2349 0x2345 0x2346 0x2347 10 11 12 13 `03' . SFD CJK LaTeX . SFD TFM ( ) `@' (map file) ttf2tfm ttf2pk (subfont mode) . SFD . (override) ( ). SFD 0x10-0xA0 0x12 0x25 . . -n -N -p -r -R -t -T -u -v -V -w ttf2tfm `Encoding' `Replacement' . . ttf2tfm TFM SFD ( ) . : ttf2tfm ntukai.ttf ntukai@Big5,Big5-supp@ Big5.sfd Big5-supp.sfd ntukai01.tfm ntukai02.tfm . ttf2tfm 0 1 . (SOME NOTES ON FILE SEARCHING) ttf2pk ttf2tfm kpathsea emtexdir MiKTeX (emtexdir MS-DOS MS-DOS OS/2 Windows MikTeX MS Windows ). . ( `.ttf' `.ttc'). kpathsea kpathsea ttf2pk ttf2tfm --version . kpathsea . TTF2PKINPUTS TTF2TFMINPUTS 3.2 kpathsea : .ttf and .ttc TTFONTS ttf2pk.cfg TTF2PKINPUTS .map TTF2PKINPUTS .enc TTF2PKINPUTS, TTF2TFMINPUTS .rpl TTF2PKINPUTS, TTF2TFMINPUTS .tfm TFMFONTS .sfd TTF2PKINPUTS, TTF2TFMINPUTS info kpathsea . TEXMFCNF texmf.cnf . kpathsea ( TTFONTS ). texmf.cnf kpathsea (hard-coded). kpsewhich -progname=ttf2tfm -expand-var='$TTFONTS' -- TTFONTS.ttf2tfm . : kpsewhich -progname=ttf2tfm -show-path='truetype fonts' [ `kpsewhich --help' .] ttf2tfm ( ttf2pk) . autoexec.bat ( config.sys OS/2) : .ttf .ttc TTFONTS ttf2pk.cfg TTFCFG .map TTFCFG .enc TTFCFG .rpl TTFCFG .tfm TEXTFM .sfd TTFCFG . . . : TTFONTS=c:\fonts\truetype!!;d:\myfonts\truetype! `c:\fonts!!\truetype' . MiKTeX ttf2tfm ttf2pk MiKTeX . MiKTeX . (PROBLEMS) vptovf 100 TFM ( TFM 1024 ): 8 checksum (design size) 40 20 4 face. 28 ttf2tfm ( ) . max_header_bytes vptovf.web ( pltotf.web ) 400 vptovf ( pltotf) . () This HEADER index is too big for my present table size . ttf2pk(1), afm2tfm(1), vptovf(1), info dvips kpathsea (AVAILABILITY) ttf2tfm FreeType 1 TrueType. (AUTHORS) Werner LEMBERG Frederic LOYER FreeType2 version 27-Jun-2013 TTF2TFM(1)