mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-04 21:12:47 -05:00
Don't use "server:fixed" as the default font without X.
If we're not supporting server-side fonts, it's utterly silly to set one as the default! Instead, we use Pango's guarantee that some reasonably sensible monospaced font will be made available under the name "Monospace", and use that at a reasonable default size of 12pt.
This commit is contained in:
@ -3392,7 +3392,7 @@ void unifontsel_set_name(unifontsel *fontsel, const char *fontname)
|
||||
* Provide a default if given an empty or null font name.
|
||||
*/
|
||||
if (!fontname || !*fontname)
|
||||
fontname = "server:fixed";
|
||||
fontname = DEFAULT_GTK_FONT;
|
||||
|
||||
/*
|
||||
* Call the canonify_fontname function.
|
||||
|
Reference in New Issue
Block a user