GETINSTRS(1)

πŸ’– GETINSTRS(1) πŸ’–

okay bestie, welcome to the getinstrs page from the General Commands Manual β€” she's a lil tool with main character energy and we're gonna go through her together, no skipping, fr fr ✨


🌸 NAME 🌸

getinstrs β€” extracts TrueType instructions for one or more glyphs from a font.

like. she pulls the instructions out. for glyphs. plural. that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

getinstrs [options] fontfile glyphs...

you give her options, a fontfile, and then as many glyphs as your heart desires. slay πŸ’…


✨ DESCRIPTION ✨

so here's the tea, bestie: getinstrs calls the FontForge Python extension to extract instructions from a TrueType font β€” and yes, that can be either a .ttf or a .sfd, she's flexible like that 😌 β€” and then prints them to stdout. (which means if you actually want to keep them, you redirect that output into a file. redirect to capture them in a file, that's the move 🫢)

by default, the instructions come out printed as an Xgridfit glyph program. cute, right? but wait, there's more:

  • want them as "raw" instructions instead? that's the -r, --raw command-line option, babes 🌈
  • want to enclose the glyph program(s) in an <xgridfit> element so you get a complete, valid Xgridfit program? that's -x, --xgridfit πŸ‘‘

pick your fighter. or don't, she has a default, she's not gonna make you choose 🧚


πŸ’… OPTIONS πŸ’…

  • -h, --help β€” displays a help message and exits. the classic. the icon. when in doubt, ask her for help πŸ’–
  • -r, --raw β€” prints "raw" instructions instead of Xgridfit glyph programs. no wrapper, no frills, just the raw truth ✨
  • -x, --xgridfit β€” prints the XML declaration and the <xgridfit> element, which makes a complete, valid Xgridfit program. this is the "give me the whole finished thing" option and honestly? she ate 🌟

πŸ‘€ SEE ALSO πŸ‘€

go read those too, iykyk πŸ“š


🫢 AUTHOR 🫢

getinstrs was written by Peter Baker <psb6m@virginia.edu>. πŸ’œ

this manual page was written by Peter Baker as well. one person, two jobs, we love a multitasker πŸ‘‘


okay that's the whole page, bestie!! go forth and extract those instructions, you absolute legend πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

this was the GETINSTRS(1) page, dated 2009-12-16 β€” yes she's a 2009 baby and she's still iconic for it ⭐ no cap.