GETAFM(1)
π GETAFM(1) β the General Commands Manual page, bestie edition π
okay so this is getafm, a little icon from the General Commands Manual section, and she is here to hand you an AFM file for a PostScript font. no cap. let's get into it π¦
β¨ NAME β¨
getafm β create an AFM file for a PostScript font.
like. that's the whole job. she makes AFM files. periodt π
πΈ SYNOPSIS πΈ
getafm FontName > output.ps
yeah that's it, that's the whole vibe. one argument, one redirect, we move π
π«Ά DESCRIPTION π«Ά
okay so here's the tea: getafm generates a PostScript file. and that PostScript file, when it actually gets printed, prints an AFM file for a font straight to the printer's output channel. it's giving "the printer is doing your homework for you" energy, honestly iconic π
so what do you do with the output of getafm? you send it to a printer. OR you send it to GhostScript, which is the lowkey main character here. for example:
getafm Times-Roman | gsnd - >Times-Roman.afm
see how that works? getafm pipes into gsnd, and boom, you've got yourself a Times-Roman.afm file on the other side. no printer required, we're doing this all in software, slay β¨
π AUTHOR π
this masterpiece was brought to you by Robert Joop (rj@rainbow.in-berlin.de) and Angus Duggan. legends. we stan. π
π SEE ALSO π
the whole friend group, fr fr β go read these too:
psbook(1)psselect(1)pstops(1)epsffit(1)psnup(1)psresize(1)psmerge(1)fixscribeps(1)getafm(1)fixdlsrps(1)fixfmps(1)fixpsditps(1)fixpspps(1)fixtpps(1)fixwfwps(1)fixwpps(1)fixwwps(1)extractres(1)includeres(1)showchar(1)
(and yes, getafm(1) is listed in her own SEE ALSO. self-love. we respect it π)
π TRADEMARKS π
PostScript is a trademark of Adobe Systems Incorporated. just so we're all clear, putting that on the record π
π BUGS π
okay bestie, important one, listen up:
Kerning information is not generated by getafm. like, at all. so if you need kerning, it is best to use original AFM files if possible. fr fr, do not come for her about the kerning, she simply does not do that π
and that's the whole page, babe β getafm, from PSUtils Release 1 Patchlevel 17. go make some AFM files, you absolute icon π¦β¨π
π¦ where this page comes from
- debian bookworm: psutils 1.17.dfsg-4
- ubuntu jammy: psutils 1.17.dfsg-4
- ubuntu noble: psutils 1.17.dfsg-4build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms