PK2BM(1)
π PK2BM(1) π
β¨ NAME β¨
okay so the whole point of pk2bm is to create a bitmap from a TeX pkfont π§ literally that's it, that's the job π
π SYNOPSIS π
pk2bm [-bh] [-Wwidth] [-Hheight] -cchar pkfont
pk2bm [-bh] [-Wwidth] [-Hheight] -ooctchar pkfont
π¦ DESCRIPTION π¦
okay bestie, listen π this program makes a bitmap (an ASCII file!) that you can use to build X11 applications β¨ the bitmap file holds every pixel of one specific character, picked either with -c or -o, from the pkfont you give it. the file format is described in bitmap(X11), so go check that if you wanna get nerdy π€
quick lore π the pkfont is a packed fontfile that gftopk(TeX) makes from a gffont. and a gffont is the output of METAFONT, which is a program for designing fonts in a device independent way. it's giving font-design pipeline ππ«Ά
now the flags, iykyk π
-bmakes a bitmap where black pixels show up as a*and white ones show up as a.π€π€-hgives you a hexadecimal bitmap dump instead π₯
and then the size stuff π -W and/or -H let you make a bitmap of a certain width and/or height in pixels πΈ when you do that, the pk-bitmap gets centered inside those new dimensions. so cute, no cap π₯Ή
the output goes to the standard output, so you can pipe it wherever your heart desires π
π SEE ALSO π
METAFONT, Donald Knuth. the OG πThe PKtype processor, which belongs to the METAFONTware family π§- bitmap(X11) π¦
- gftopk(TeX) π
- pktype(TeX) β
- ps2pk(1) π
π AUTHOR π
Piet Tutelaers is the legend behind this one β¨ it's maintained in TeX Live, so if you find a bug or wanna send any other correspondence, email tex-k@tug.org (https://lists.tug.org/tex-k) π«Ά
bestie, that's the whole thing π PK2BM(1) from the General Commands Manual, dated 30 August 2022, all wrapped up ππ slay forever π β¨
π¦ where this page comes from
- alpine 3.24: texmf-dist-fontutils-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms