TTC(1p)

πŸ“¦
version 6.101.0 Β· 2 versions
, in ubuntu stonking

πŸ’– ttc β€” show fonts in a ttc πŸ’–

okay bestie, listen. this is TTC(1p), from the User Contributed Perl Documentation set, and it's basically a little font-detective that cracks open a .ttc file and tells you every single font hiding inside it. it's giving backstage-pass energy. no cap. πŸŽ€


✨ SYNOPSIS ✨

ttc [options] [file ...]

Options:
  --with-filename  -H  includes filename
  --ident              shows identification
  --help               shows a brief help message and exits
  --man                shows full documentation and exits
  --verbose            provides more verbose information
  --quiet              runs as silently as possible

like, you just run ttc, optionally throw some options at it, optionally point it at a file (or a whole lil stack of files 🫢), and it does its thing. iconic.


πŸ¦‹ OPTIONS πŸ¦‹

  • --with-filename, -H β€” puts the filename in the output too. and heads up: this is the default when you're processing more than one file, so don't come for it, it's just being helpful πŸ’…
  • --help β€” prints a lil brief help message and then dips. that's it, that's the whole thing. πŸ‘‹
  • --man β€” prints the manual page and exits. yes, the whole manual. the full lore. πŸ“–
  • --ident β€” prints the program identification. name tag energy, iykyk. 🏷️
  • --verbose β€” gives you more verbose information. and the way that this one STACKS β€” you can repeat it to crank the verbosity higher. more --verbose, more info, periodt. πŸ”₯
  • --quiet β€” suppresses all non-essential information. runs as silently as possible. shhh, she's being demure. πŸ™ˆ
  • file β€” the input file(s) to process, if any. the main characters, fr fr. no file? that's allowed too, it says "if any." πŸ“

🌸 DESCRIPTION 🌸

so here's the vibe check: this program reads the ttc file(s) you hand it and lists the fonts contained inside. that's its whole job and it's lowkey obsessed with it.

the output contains, per font:

  • the index of the font
  • PS= its PostScript name
  • fam= the family name
  • sub= the subfamily (style)

four lil facts per font, one tidy list. chef's kiss. 😭✨


🌈 EXAMPLE 🌈

   ttc -H Times.ttc
   Times.ttc:
    1: PS="Times-Roman"      fam="Times" sub="Regular"
    2: PS="Times-Bold"       fam="Times" sub="Bold"
    3: PS="Times-Italic"     fam="Times" sub="Italic"
    4: PS="Times-BoldItalic" fam="Times" sub="Bold Italic"

see?? four fonts, four lines, filename right there on top because -H said so. "Times-BoldItalic" with family "Times" and subfamily "Bold Italic" β€” the whole squad accounted for. πŸ‘‘

bestie reminder: the output lines line up per font β€” index first, then PS=, fam=, and sub=. don't skip any of 'em, they're all part of the slay. 🫢

and that's the page!! πŸ’œ this lil cutie ships with perl v5.40.1 and the page is dated 2026-05-03, so you know she's fresh. go forth, run ttc, and read those fonts for filth (affectionately). mwah!! πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from