1PTFTOPL(1) General Commands Manual PTFTOPL(1)
2
3
4
6 ptftopl, uptftopl - Convert Japanese pTeX font metric (JFM) files to
7 property list
8
10 ptftopl [OPTIONS] tfm_name[.tfm] [pl_name[.pl]]
11
13 The ptftopl program translates a Japanese pTeX font metric (JFM) file
14 to a Japanese property list (JPL) file. It also serves as a TFM/JFM-
15 file validating program.
16
17 The uptftopl program is a Unicode-enabled version of ptftopl.
18
19 In the following sections, we refer to these programs as (u)ptftopl.
20
21 (u)ptftopl is upper compatible with tftopl; if the input TFM file is
22 for roman fonts, it is translated into an ordinary property list file.
23 The difference between ptftopl and uptftopl lies in the internal encod‐
24 ing: when the input is a JFM file, ptftopl always treats it as a JIS-
25 encoded JFM; on the other hand, uptftopl treats it as a Unicode-encoded
26 JFM by default.
27
29 Compared to tftopl, the following option is added to (u)ptftopl.
30
31 -kanji string
32 Sets the output Japanese Kanji code. The string can be one of
33 the followings: euc (EUC-JP), jis (ISO-2022-JP),
34 sjis (Shift_JIS), utf8 (UTF-8), uptex (UTF-8; uptftopl only).
35
36 When one of euc, jis, sjis or utf8 is specified, both ptftopl and up‐
37 tftopl treats the input JFM as JIS-encoded. When uptex is specified
38 with uptftopl, it treats the input JFM as Unicode-encoded.
39
41 ptex(1).
42
44 (u)ptftopl is maintained by Japanese TeX Development Community
45 <https://texjp.org>. For bug reports, open an issue at GitHub reposi‐
46 tory <https://github.com/texjporg/tex-jp-build>, or send an e-mail to
47 <issue@texjp.org>.
48
49 This manual page was written by Hironobu Yamashita.
50
51
52
53Web2C 2023 30 August 2022 PTFTOPL(1)