T1UNMAC(1)

πŸ“¦
version 1.42 Β· 2 versions
, in alpine 3.24, arch rolling, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– T1UNMAC β€” bestie, let's un-Mac your font πŸ’–

okay so real quick, this is t1unmac, it lives in the General Commands Manual, and it's here to do exactly one iconic thing: take a Mac PostScript Type 1 font and turn it into something the rest of the Unix world can actually read. slay.


✨ NAME ✨

t1unmac β€” translate a Mac PostScript Type 1 font into PFA or PFB format πŸ¦‹


🌸 SYNOPSIS 🌸

t1unmac [-a|-b] [-r] [input [output]]

πŸ’… DESCRIPTION πŸ’…

so t1unmac extracts POST resources out of a Macintosh PostScript font file and builds you a fresh PFA (hexadecimal) or PFB (binary) font file. it's giving "rescued from the Mac ecosystem, now thriving elsewhere." πŸŽ€

the input file, bestie, has to be in one of these formats:

  • MacBinary I
  • MacBinary II
  • AppleSingle
  • AppleDouble
  • BinHex

…or it can just be a raw resource fork. and here's the thing β€” if it is a raw resource fork, you gotta pass the --raw option, no cap. otherwise t1unmac will just figure out what kind of file you handed it all on its own. she's smart like that. 🧚

if output isn't specified, the output goes to standard output. periodt.


πŸ”₯ OPTIONS πŸ”₯

  • --pfa, -a β€” output in PFA (ASCII) format. text-coded, very demure.
  • --pfb, -b β€” output in PFB (binary) format. and btw this is the default, so if you don't say anything, this is what you get. πŸ‘‘
  • --raw, -r β€” tells her that the input is a raw resource fork. don't skip this one if that's what you've got, fr fr.
  • --macbinary β€” tells her the input is in MacBinary I or II format.
  • --applesingle β€” tells her the input is in AppleSingle format.
  • --appledouble β€” tells her the input is in AppleDouble format.
  • --binhex β€” tells her the input is in BinHex 4.0 format.
  • --block-length=num, -l num β€” PFB only! set the maximum output block length to num. the default length is as large as memory allows. yes, she will use everything she's got. 😭
  • --line-length=num, -l num β€” PFA only! set the maximum length of the encrypted lines in the output to num. (these are the lines that consist wholly of hexadecimal digits, iykyk.) the default is 64. ✨

🌈 EXAMPLES 🌈

on Mac OS X, you can use t1unmac to translate a font into PFA or PFB format like this:

% t1unmac --raw FONTFILENAME/..namedfork/rsrc > OUTPUT

look at her go. main character energy. πŸ’–


🫢 SEE ALSO 🫢

t1mac(1), t1ascii(1), t1binary(1), t1asm(1), t1disasm(1)

the whole friend group, honestly. go say hi.


πŸ‘‘ AUTHORS πŸ‘‘

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

ported to Microsoft C/C++ Compiler and the MS-DOS operating system by Kai-Uwe Herbing (herbing@netmbx.netmbx.de). talk about range. πŸ’€βœ¨


and that's the whole page, bestie β€” this is Version 1.42 of t1unmac, straight out of the General Commands Manual. go un-Mac a font, you've got this. πŸ’œπŸŽ€πŸ¦‹