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, ptftopl always treats it as a JIS-encoded JFM.
  • uptftopl treats 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; uptftopl only). ⭐

and here's the tea on how that interacts with the input:

  • when one of euc, jis, sjis or utf8 is specified, both ptftopl and uptftopl treat the input JFM as JIS-encoded.
  • when uptex is specified with uptftopl, it treats the input JFM as Unicode-encoded.
no cap, uptex is uptftopl only β€” ptftopl does not get the aux cord. πŸ™ˆ

✨ SEE ALSO ✨

ptex(1).


✨ 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