ptftopl1
Convert japanese ptex font metric (jfm) files to property list
Usage
ptftopl [options]
tfm_file
[.tfm]
[pl_file
[.pl]]
Overview
The ptftopl program translates a Japanese pTeX font metric (JFM) file to a Japanese property list (JPL) file. It also serves as a TFM/JFM-file validating program.
The uptftopl program is a Unicode-enabled version of ptftopl.
In the following sections, we refer to these programs as (u)ptftopl.
(u)ptftopl is upper compatible with tftopl; if the input TFM file is for roman fonts, it is translated into an ordinary property list file. The difference between ptftopl and uptftopl lies in the internal encoding: when the input is a JFM file, ptftopl always treats it as a JIS-encoded JFM; on the other hand, uptftopl treats it as a Unicode-encoded JFM by default.
Options
Compared to tftopl, the following option is added to (u)ptftopl.
-kanjistring-
Sets the output Japanese Kanji code. The string can be one of the followings: euc (EUC-JP), jis (ISO-2022-JP), sjis (Shift_JIS), utf8 (UTF-8), uptex (UTF-8;
uptftoplonly).
When one of euc, jis, sjis or utf8 is specified, both ptftopl and uptftopl treats the input JFM as JIS-encoded. When uptex is specified with uptftopl, it treats the input JFM as Unicode-encoded.
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.