PTFTOPL(1)
π PTFTOPL (1) β general commands manual π
okay bestie, sit down, hydrate, and let me tell you about ptftopl and uptftopl because they are lowkey iconic and you're about to be obsessed. πΈ
β¨ NAME β¨
ptftopl, uptftopl β convert Japanese pTeX font metric (JFM) files to property list π¦
β¨ SYNOPSIS β¨
ptftopl [options] tfm_file[.tfm] [pl_file[.pl]]
β¨ DESCRIPTION β¨
so the way that ptftopl works is: it takes a Japanese pTeX font metric (JFM) file and translates it into a Japanese property list (JPL) file. that's the main character job. π
but wait, it also serves as a TFM/JFM-file validating program, which is giving side quest energy but honestly? necessary. π₯
uptftopl is the Unicode-enabled version of ptftopl. same vibe, glow-up encoding.
for the rest of this whole page, we're just gonna call these two (u)ptftopl, mwah. π
(u)ptftopl is upper compatible with tftopl β so if your input TFM file is for roman fonts, it gets translated into an ordinary property list file. no drama, no notes.
now here's the difference between ptftopl and uptftopl and it's all about the internal encoding:
- when the input is a JFM file,
ptftoplalways treats it as a JIS-encoded JFM. uptftopltreats it as a Unicode-encoded JFM by default.
periodt. that's the whole plot twist. π
β¨ OPTIONS β¨
compared to tftopl, the following option is added to (u)ptftopl. that's it, that's the new girl. π
-kanji stringβ 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). β
and here's the tea on how that interacts with the input:
- when one of
euc,jis,sjisorutf8is specified, bothptftoplanduptftopltreat the input JFM as JIS-encoded. - when
uptexis specified withuptftopl, it treats the input JFM as Unicode-encoded.
no cap,uptexisuptftoplonly βptftopldoes not get the aux cord. π
β¨ SEE ALSO β¨
β¨ AUTHORS β¨
(u)ptftopl is maintained by Japanese TeX Development Community <https://texjp.org>. π«Ά
for bug reports, open an issue at the GitHub repository <https://github.com/texjporg/tex-jp-build>, or send an e-mail to <issue@texjp.org>. they're nice, promise. π
this manual page was written by Hironobu Yamashita. βοΈ
and that's the whole thing bestie!! this page is brought to you by Web2C 2026 and it's dated 30 January 2026, and yes we ARE stanning a font-metric converter in this house. (u)ptftopl 4ever. πβ¨ππ¦ππ
π¦ where this page comes from
- arch rolling: texlive-doc 2026.1-1 Β· GPL
- ubuntu stonking: texlive-lang-japanese 2026.20260711-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms