PTFTOPL(1)
π PTFTOPL β the manual, but make it cute π
okay bestie, so this is the manual page for ptftopl and uptftopl, and it lives in section 1 of the General Commands Manual. and no, the header line at the top of the page isn't the vibe, i folded the manual name in right here for you π
β¨ NAME β¨
ptftopl, uptftopl β convert Japanese pTeX font metric (JFM) files to property list π¦
β¨ SYNOPSIS β¨
ptftopl [OPTIONS] tfm_name[.tfm] [pl_name[.pl]]
β¨ DESCRIPTION β¨
so like, ptftopl takes a Japanese pTeX font metric (JFM) file and translates it into a Japanese property list (JPL) file. it's also out here doing double duty as a TFM/JFM-file validating program, like a little bouncer checking IDs at the door π
uptftopl is the Unicode-enabled version of ptftopl. slay.
from here on out we're just calling both of them (u)ptftopl, bestie, keep up π«Ά
now the tea: (u)ptftopl is upper compatible with tftopl. so if the input TFM file is for roman fonts, it gets translated into an ordinary property list file. easy peasy β¨
the difference between ptftopl and uptftopl? it's all in the internal encoding, iykyk:
- 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
that's it. that's the whole plot twist π
β¨ OPTIONS β¨
compared to tftopl, there's literally just one extra option added to (u)ptftopl. one. iconic minimalism π
-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) π
okay now the important part, don't skip this bestie:
when one of euc, jis, sjis or utf8 is specified, both ptftopl and uptftopl treat the input JFM as JIS-encoded. but when uptex is specified with uptftopl, it treats the input JFM as Unicode-encoded π
β¨ SEE ALSO β¨
ptex(1)β go read that one next, fr fr π
β¨ AUTHORS β¨
(u)ptftopl is maintained by the Japanese TeX Development Community <https://texjp.org> π§
for bug reports, you can either open an issue at the GitHub repository <https://github.com/texjporg/tex-jp-build>, or send an e-mail to <issue@texjp.org>. they'd love to hear from you, no cap π
this manual page was written by Hironobu Yamashita. thank you for your service π
and that's a wrap, bestie!! this page is from Web2C 2025 and it's dated 30 August 2022 β yeah she's a lil vintage but she still ate π β¨ bye ily π«Άπ
π¦ where this page comes from
- alpine 3.24: texlive-doc 2026.0-r0 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- debian trixie: texlive-lang-japanese 2024.20250309-1
- fedora 44: texlive-ptex 12:svn77830-105.fc44 Β· BSD-3-Clause
- fedora 44: texlive-ptex 12:svn77830-111.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: texlive-ptex 2025.221.svn73848-160000.3.1 Β· BSD-3-Clause
- ubuntu questing: texlive-lang-japanese 2024.20250309-1
- ubuntu resolute: texlive-lang-japanese 2025.20260124-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms