Skip to content

Instantly share code, notes, and snippets.

@legionus
Created October 2, 2024 11:07
Show Gist options
  • Save legionus/7942c292926924f800aa2a8b8ffb4392 to your computer and use it in GitHub Desktop.
Save legionus/7942c292926924f800aa2a8b8ffb4392 to your computer and use it in GitHub Desktop.
$ ./setfont -h
Usage: setfont [option...] [newfont...]
Options:
-<N> load font "default8x<N>".
-o <FILE> write current font to <FILE>.
-O <FILE> write current font and unicode map to <FILE>.
-om <FILE> write current consolemap to <FILE>.
-ou <FILE> write current unicodemap to <FILE>.
-h<N> override font height.
-d double size of font horizontally and vertically.
-m <FILE> load console screen map ('none' means don't load it).
-u <FILE> load font unicode map ('none' means don't load it).
-R reset the screen font, size, and unicode map to the bootup defaults.
-C <DEV> the console device to be used.
-v be more verbose.
-V print version number.
The -[o|O|om|ou] options are taken place before the new font
is uploaded.
If no <newfont> and no -[o|O|om|ou|m|u] option is given,
a default font is loaded.
Explicitly (with -m or -u) or implicitly (in the fontfile)
given mappings will be loaded and, in the case of consolemaps,
activated.
Files are loaded from the /usr/local/share/*/.
Report bugs to authors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment