GRUB-MKFONT(1)

πŸŽ€ NAME πŸŽ€

grub-mkfont β€” make GRUB font files πŸ’–

(ok so this is from the User Commands manual, bestie, and it's about turning your cute lil' fonts into GRUB font files)


✨ SYNOPSIS ✨

grub-mkfont [OPTION...] [OPTIONS] FONT_FILES

πŸ¦‹ DESCRIPTION πŸ¦‹

Convert common font file formats into PF2. That's it, that's the whole vibe β€” you hand it a normal font file, it hands you back a PF2, which is what GRUB actually wants. Periodt. πŸ’…

  • -a, --force-autohint β€” force autohint. like, make it happen even if it wouldn't normally 🫢
  • -b, --bold β€” convert to bold font. thicc-ify it ✨
  • -c, --asce=NUM β€” set font ascent (the height above the baseline, if you were wondering πŸ‘€)
  • -d, --desc=NUM β€” set font descent (the bit that hangs below the baseline, yes it's a real term 😭)
  • -i, --index=NUM β€” select face index. for when your font file is a whole collection and you gotta pick one πŸ’€
  • --no-bitmap β€” ignore bitmap strikes when loading. no bitmaps allowed, we're being picky πŸ™ˆ
  • --no-hinting β€” disable hinting
  • -n, --name=NAME β€” set font family name
  • -o, --output=FILE β€” save output in FILE β€” required, no cap, you literally cannot skip this one πŸ”₯
  • -r, --range=FROM-TO[,FROM-TO] β€” set font range. you can stack ranges with commas, slay πŸŽ€
  • -s, --size=SIZE β€” set font size
  • -v, --verbose β€” print verbose messages. (note the period, it's part of the original energy πŸ’œ)
  • -?, --help β€” give this help list
  • --usage β€” give a short usage message
  • -V, --version β€” print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. ← read that twice bestie, it's the classic getopt rule and it applies here fr fr 🌸

πŸ’€ REPORTING BUGS πŸ’€

Report bugs to <bug-grub@gnu.org>. (yes, that's the real address, go tell them, they wanna know 🫢)


πŸ‘‘ SEE ALSO πŸ‘‘

The full documentation for grub-mkfont is maintained as a Texinfo manual. If the info and grub-mkfont programs are properly installed at your site, the command

info grub-mkfont

should give you access to the complete manual. iykyk, that's where the full lore lives πŸ“–βœ¨


so yeah, that's the whole page 🧚 this one's from GRUB 2.12-1ubuntu7.3, dated March 2025 β€” go make some iconic fonts, bestie, ily, bye πŸ’–πŸŒˆπŸ“

πŸ“¦ where this page comes from