contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.42k stars 105 forks source link

in case of bad font config, default to something existing #1292

Closed christianparpart closed 8 months ago

christianparpart commented 1 year ago

Just in case somebody misconfigures a font (by accident) and that font cannot be found, then Contour should still boot up. with a default font that definitely exists on this operating system.

in such case, an error should still be reported (via errorlog() as first step)

Future improvements

We do not have a good error reporting API for that yet, apart from errorlog(), but that could be hooked into the frontend to show the messages also on the GUI instance's terminal window itself (either directly on screen, if no shell spawned yet, or in the statusline area)