GETPDFFONTOBJECT(1p)

πŸ“¦
version 1.60 Β· 2 versions
  • 1.60 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.60 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– GETPDFFONTOBJECT πŸ’–

okay bestie, so this is getpdffontobject from the User Contributed Perl Documentation crew, and yes the name is giving "font object" but the tagline is doing its own thing. we move. πŸ¦‹


✨ NAME ✨

getpdffontobject β€” Print the PDF form field names

(no bc that's literally what it says, i don't make the rules πŸ’…)


🌸 SYNOPSIS 🌸

getpdffontobject [options] infile.pdf pagenum fontname

Options:
  -v --verbose        print diagnostic messages
  -h --help           verbose help message
  -V --version        print CAM::PDF version

so you run it, you hand it a PDF, a page number and a font name, and you get your little font metadata moment. periodt. πŸ’–


πŸŽ€ DESCRIPTION πŸŽ€

okay so here's the vibe: it retrieves the font metadata from the PDF. that's the whole mission. 🫢

and then it depends on your energy:

  • if you pass --verbose, it dumps the memory representation to STDOUT. so you get the whole thing, laid bare, no secrets. main character behavior honestly.
  • if you don't, it just silently returns success or emits a failure message to STDERR. quiet queen. she says nothing unless something's wrong. 😭
heads up bestie: the leading / on the fontname argument is optional. so like, /Helvetica and Helvetica are both fine. you don't have to stress about it. ✨

πŸ’œ SEE ALSO πŸ’œ

  • CAM::PDF β€” the whole family, go say hi 🧚

πŸ‘‘ AUTHOR πŸ‘‘

See CAM::PDF

(yes that's the whole thing, the author section is just pointing you at CAM::PDF. iconic delegation, honestly. πŸŽ€)


so yeah. that's the page. go grab your font metadata, bestie. πŸŒˆπŸ’–

this whole thing lives in perl v5.36.0, dated 2022-12-08, filed under GETPDFFONTOBJECT(1p) in the User Contributed Perl Documentation section β€” mwah, sending you the slayest of vibes, bye pookie πŸ«Άβœ¨πŸ’…

πŸ“¦ where this page comes from