T1DISASM(1)

πŸ“¦ version 2026.0, in alpine 3.24

✨ T1DISASM ✨

okay bestie, welcome to the t1disasm page from the General Commands Manual β€” she's the one who takes your cute little PostScript Type 1 font and cracks it open so you can actually read her πŸ’…


🌸 NAME 🌸

t1disasm β€” disassemble PostScript Type 1 font, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

t1disasm [input [output]]

✨ DESCRIPTION ✨

so like. t1disasm disassembles Adobe Type 1 font programs β€” whether they're in PFA (that's the hexadecimal one) or PFB (the binary one) format β€” and turns them into human-readable form πŸŽ€

  • if you don't specify the output file, the output just goes straight to the standard output
  • and if you don't specify the input file, the input comes from the standard input

periodt πŸ’…

t1disasm performs eexec and charstring decryption exactly as specified in the ``black book'', Adobe Type 1 Font Format. and on top of that, the charstring binary tokens get expanded into human-readable text form, using the names given in the black book and later documents describing Type 2 opcodes. she's thorough, she's giving main character energy, she ate πŸ”₯


πŸ“ EXAMPLES πŸ“

% t1disasm Utopia-Regular.pfb Utopia-Regular.raw
% t1disasm Utopia-Regular.pfa Utopia-Regular.raw

In Subrs entries in Utopia-Regular.raw will look like:

dup 5 {
        8 111 vstem
        -12 128 hstem
        707 -20 hstem
        return
        } |

and the CharStrings entries like:

/exclam {
        58 242 hsbw
        6 callsubr
        5 4 callsubr
        63 707 rmoveto
        -54 0 -5 -22 4 -45 rrcurveto
        40 -431 rlineto
        29 hlineto
        42 431 rlineto
        4 45 -5 22 -55 0 rrcurveto
        closepath
        6 4 callsubr
        -719 vmoveto
        243 callsubr
        endchar
        } |-

like hello?? look at her. iconic 🌈


πŸ’– SEE ALSO πŸ’–

Adobe Type 1 Font Format is available free from Adobe as a PDF file: http://partners.adobe.com/asn/developer/PDFS/TN/T1_SPEC.PDF

The Type 2 Charstring Format, also available from Adobe as a PDF file, describes the newer Type 2 operators, which are also used in some multiple-master Type 1 fonts like Adobe Jenson and Kepler: http://partners.adobe.com/asn/developer/PDFS/TN/5177.Type2.pdf


πŸ‘‘ AUTHORS πŸ‘‘

  • Lee Hetherington (ilh@lcs.mit.edu)
  • Eddie Kohler (ekohler@gmail.com)

okay that's the whole page bestie, you're basically a Type 1 font whisperer now πŸ§šπŸ’œ

and a lil sign-off from the page itself: this is Version 1.42, brought to you under the General Commands Manual umbrella, T1DISASM(1) β€” bye bye, slay πŸ’–βœ¨πŸŒΈπŸ¦‹πŸŽ€πŸ’…πŸ«Ά

πŸ“¦ where this page comes from