PPLTOTF(1)

✨ NAME ✨

ppltotf, uppltotf β€” bestie edition: we're making a Japanese pTeX font metric (JFM) file πŸ’–


🌸 SYNOPSIS 🌸

ppltotf [options] pl_file_name[.pl] [tfm_file_name[.tfm]]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so, main character moment: ppltotf takes a Japanese property list (JPL) file and translates it into a Japanese pTeX font metric (JFM) file. The JFM file it spits out can be used with pTeX and e-pTeX. Slay.

Then there's uppltotf β€” she's the Unicode-enabled version of ppltotf, and the JFM file she makes can be used with upTeX and e-upTeX. Iconic.

From here on we're gonna call both of these programs (u)ppltotf, because typing both every time is giving unnecessary labor.

Now for the tea β˜•: (u)ppltotf is upper compatible with pltotf. Meaning if your input PL file is for roman fonts, it gets translated into an ordinary TeX font metric (TFM) file instead. No drama, no cap.

The only difference between ppltotf and uppltotf is the output encoding, and it's lowkey a big deal:

  • ppltotf always outputs JIS-encoded JFM. Every time. Periodt.
  • uppltotf outputs Unicode-encoded JFM by default πŸ’…

πŸŽ€ OPTIONS πŸŽ€

Compared to pltotf, the following option is added to (u)ppltotf:

  • -kanji string β€” sets the input 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; uppltotf only)

When one of euc, jis, sjis or utf8 is specified, both ppltotf and uppltotf output a JIS-encoded JFM. But when uptex is specified with uppltotf, it outputs a Unicode-encoded JFM ✨

Heads up bestie: uptex is a uppltotf-only vibe. Don't try it anywhere else πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

ptex(1). That's it, that's the list 🫢


πŸ‘‘ AUTHORS πŸ‘‘

(u)ppltotf is maintained by the Japanese TeX Development Community β€” their site is <https://texjp.org>. Found a bug? 😭 Open an issue at the GitHub repository <https://github.com/texjporg/tex-jp-build>, or send an e-mail to <issue@texjp.org>.

This manual page was written by Hironobu Yamashita. Thank you for your service 🫑


And that's a wrap, bestie 🌈 This page is brought to you by Web2C 2025, dated 15 March 2019 β€” go make some fonts, you've got this πŸ’–βœ¨