legionus / kbd

Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git
https://kbd-project.org
Other
84 stars 41 forks source link

Feature request: restore default font (setfont) #95

Closed Tecol87 closed 1 day ago

Tecol87 commented 1 year ago

On a lot of distributions, the default font (e.g. ter-u32b) is not available as file since terminus-font is not installed. The default font can be restored with this code. This can be important, when the current font is garbage (https://github.com/legionus/kbd/issues/94) or not as readable as the default font.

legionus commented 1 day ago

Sorry for delay. The setfont already has the -R option (unfortunately not mentioned in the help). Is this not what you want?

legionus commented 1 day ago

I found a bug in the implementation of the -R option. By fixing it this option does exactly what you want it to do.