Debian Codegraph @

texk/web2c/man/ptftopl.man

raw
1 .TH PTFTOPL 1 "30 January 2026" "Web2C @VERSION@"
2 .\"=====================================================================
3 .if t .ds TX \fRT\\h'-0.10m'\\v'0.17v'E\\v'-0.17v'\\h'-0.06m'X\fP
4 .if n .ds TX TeX
5 .ie t .ds OX \fIT\h'-0.17m'\v'+0.21m'E\v'-0.21m'\h'-0.04m'X\fP
6 .el .ds OX TeX\"
7 .\" BX definition must follow TX so BX can use TX
8 .if t .ds BX \fRB\s-2IB\s0\fP\*(TX
9 .if n .ds BX BibTeX
10 .\" LX definition must follow TX so LX can use TX
11 .if t .ds LX \fRL\\h'-0.36m'\\v'-0.15v'\s-2A\s0\\h'-0.15m'\\v'0.15v'\fP\*(TX
12 .if n .ds LX LaTeX
13 .\"=====================================================================
14 .SH NAME
15 ptftopl, uptftopl \- Convert Japanese p\*(TX font metric (JFM) files to property list
16 .SH SYNOPSIS
17 .B ptftopl
18 .RI [ options ]
19 .IR tfm_file [ \fB.tfm\fP ]
20 .RI [ pl_file [ \fB.pl\fP ]]
21 .\"=====================================================================
22 .SH DESCRIPTION
23 The
24 .B ptftopl
25 program translates a Japanese p\*(TX font metric (JFM) file to a
26 Japanese property list (JPL) file. It also serves as a TFM/JFM-file
27 validating program.
28 .PP
29 The
30 .B uptftopl
31 program is a Unicode-enabled version of ptftopl.
32 .PP
33 In the following sections, we refer to these programs as
34 .BR (u)ptftopl .
35 .PP
36 .B (u)ptftopl
37 is upper compatible with
38 .BR tftopl ;
39 if the input TFM file is for roman fonts, it is translated into an
40 ordinary property list file.
41 The difference between
42 .B ptftopl
43 and
44 .B uptftopl
45 lies in the internal encoding: when the input is a JFM file,
46 .B ptftopl
47 always treats it as a JIS-encoded JFM; on the other hand,
48 .B uptftopl
49 treats it as a Unicode-encoded JFM by default.
50 .\"=====================================================================
51 .SH OPTIONS
52 Compared to tftopl, the following option is added to
53 .BR (u)ptftopl .
54 .TP
55 .BI -kanji \ string
56 Sets the output Japanese \fIKanji\fR code. The
57 .I string
58 can be one of the followings:
59 .IR euc \ (EUC-JP),
60 .IR jis \ (ISO-2022-JP),
61 .IR sjis \ (Shift_JIS),
62 .IR utf8 \ (UTF-8),
63 .IR uptex \ (UTF-8;
64 .B uptftopl
65 only).
66 .PP
67 When one of
68 .IR euc ,
69 .IR jis ,
70 .I sjis
71 or
72 .I utf8
73 is specified, both
74 .B ptftopl
75 and
76 .B uptftopl
77 treats the input JFM as JIS-encoded.
78 When
79 .I uptex
80 is specified with
81 .BR uptftopl ,
82 it treats the input JFM as Unicode-encoded.
83 .\"=====================================================================
84 .SH "SEE ALSO"
85 .BR ptex (1).
86 .\"=====================================================================
87 .SH AUTHORS
88 .B (u)ptftopl
89 is maintained by
90 Japanese \*(TX Development Community <https://texjp.org>.
91 For bug reports, open an issue at
92 GitHub repository <https://github.com/texjporg/tex-jp-build>,
93 or send an e-mail to <[email protected]>.
94 .PP
95 This manual page was written by Hironobu Yamashita.