PSFONTS(1)
π
psfonts / psdownload β General Commands Manual, PSFONTS(1) π
π NAME π
psfonts, psdownload β add necessary fonts to PostScript document for printing π
β¨ SYNOPSIS β¨
psfonts [ files ... ]
psdownload [ options ] [ files ... ]
π¦ DESCRIPTION π¦
okay so hereβs the vibe, bestie: Plan 9βs troff(1) and tr2post(1) use non-standard PostScript fonts (found in /postscript/font). Before sending PostScript output from tr2post to a standard printer, code implementing the non-standard fonts must be added to the PostScript. Thatβs the whole reason this icon exists. π
psfonts copies files (or standard input) to standard output, adding necessary PostScript fonts. Lowkey magic, highkey useful. β¨
psdownload is the more general program used to implement psfonts. The options are:
-ccomment β Expect the fonts used in the document to be listed in a comment beginning with this string (default%%DocumentFonts:). π-fatend β Expect extra fonts comments at the end of the document, so read the entire input before starting output (by default this only happens if a%%DocumentFonts: (atend)comment is encountered). π¦-mmapfile β Use mapfile to translate from PostScript font names to files. Each line in the map has two white space-separated fields: a font name and the corresponding file. If mapfile is not a rooted path, it is evaluated relative to the fontdir (see-Hbelow). π-pprinter β Set the name of the printer. π«Ά This option is deprecated. Its only effect is to override the-roption, causingfontdir/printers/printerto be used as the resident fonts list. β οΈ-rresidentfonts β Read a list of fonts assumed to be on the printer (not necessary to re-download) from the file residentfonts. If residentfonts is not a rooted path, it is evaluated relative to the fontdir (see-Hbelow). πΈ-Hfontdir β Set the directory that is assumed to contain the PostScript fonts and information about printers (see-m,-p, and-rabove; default/postscript/font). π-Ttmpdir β Use tmpdir for storing temporary files (default/var/tmp). π-Dβ Produce copious amounts of debugging information on standard error. ππ-Iβ Continue running even after fatal errors occur. πβ‘οΈπ
bestie, the-pdeprecation is real β it only overrides-rlike the manpage says. No cap. β
π EXAMPLE π
See tr2post(1) for an example. Thatβs literally it. β¨
π SOURCE π
/bin/psfonts/src/cmd/postscript/download
β SEE ALSO β
troff(1), tr2post(1) β go read those too, iykyk π§
okay bye bestie! footer check: this oneβs PSFONTS(1) from the General Commands Manual β no extra date was printed on the page, just vibes. Mwah πβ¨
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms