d.font(1grass)

πŸ’– d.font β€” the manual page, but make it cute πŸ’–

okay so bestie, welcome to d.font(1grass) β€” literally the font-picker for your GRASS graphics monitor. yes, the whole manual. no, I'm not skipping anything. sit down, hydrate, let's go πŸ“

✨ NAME ✨

d.font β€” selects the font in which text will be displayed on the user's graphics monitor. that's it. that's the job. she's a simple girl with a simple purpose πŸ‘‘

🏷️ KEYWORDS 🏷️

display, settings


🌸 SYNOPSIS 🌸

d.font
d.font --help
d.font [-lv]  [font=string]   [path=name]   [charset=string]   [--help]
[--verbose]  [--quiet]  [--ui]

πŸŽ€ Flags πŸŽ€

  • -l β€” List fonts. she's giving catalogue energy πŸ’…
  • -v β€” List fonts verbosely. same list, but with ✨lore✨
  • --help β€” Print usage summary
  • --verbose β€” Verbose module output
  • --quiet β€” Quiet module output
  • --ui β€” Force launching GUI dialog

πŸ¦‹ Parameters πŸ¦‹

  • font=string β€” Choose new current font. Default: romans
  • path=name β€” Path to Freetype-compatible font including file name
  • charset=string β€” Character encoding. Default: UTF-8

πŸ’œ DESCRIPTION πŸ’œ

so d.font lets you pick which text font gets used for displaying text on the graphics monitor. and here's the thing β€” if you don't specify a font when you use other GRASS programs that display text, the font type romans is what you get by default. no cap. πŸ€·β™€οΈ

you can run this program either non-interactively or interactively. if you specify a font type name on the command line, the program runs non-interactively. alternately, you can just literally type d.font on the command line β€” and in that case the program will prompt you for a display text font type. lowkey the most chill way to do it 🫢

The parameter, again but with the whole menu 🧚

font=name

  • Name of a font type, from among the font types italicized below.
  • Default: romans
  • Options: (italized) β€” yes bestie that's exactly how it's written in the source and I am not touching it πŸ™ˆ
    • cyrilc β€” Cyrillic
    • gothgbt β€” Gothic Great Britain triplex
    • gothgrt β€” Gothic German triplex
    • gothitt β€” Gothic Italian triplex
    • greekc β€” Greek complex
    • greekcs β€” Greek complex script
    • greekp β€” Greek plain
    • greeks β€” Greek simplex
    • italicc β€” Italian complex
    • italiccs β€” Italian complex small
    • italict β€” Italian triplex
    • romanc β€” Roman complex
    • romancs β€” Roman complex small
    • romand β€” Roman duplex
    • romanp β€” Roman plain
    • romans β€” Roman simplex
    • romant β€” Roman triplex
    • scriptc β€” Script complex
    • scripts β€” Script simplex

that's nineteen fonts. nineteen. count them. I did. πŸ‘‘


πŸ“ NOTES πŸ“

the font type romans is the fastest font type to display to the graphics monitor. she's not just the default, she's the speed demon. main character energy fr fr ⭐


πŸ‘€ SEE ALSO πŸ‘€

  • d.text
  • d.title

πŸ‘‘ AUTHOR πŸ‘‘

James Westervelt, U.S. Army Construction Engineering Research Laboratory

also, iconic detail incoming: d.font uses the public domain version of the Hershey Fonts created by Dr. A.V. Hershey while working at the U.S. National Bureau of Standards. public domain royalty, we love to see it πŸ’–


πŸ“¦ SOURCE CODE πŸ“¦

Available at: d.font source code (history)

Latest change: Monday Feb 24 16:07:55 2025 in commit: 4ab71fd34113b347c3c86c736cd82ca0f6be1d4b

Main index | Display index | Topics index | Keywords index | Graphical index | Full index

Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual


and that's the whole page bestie πŸŽ€ it came from GRASS 8.5.0, and yes, it's still living under the name d.font(1grass) β€” go pick a font, go display some text, slay πŸ’…βœ¨

πŸ“¦ where this page comes from