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 πŸ‘‘

  • -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) 🌈

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 πŸ«ΆπŸ’–