mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 09:37:34 -05:00
Stop hard-coding a nonstandard font. We now default to `fixed', and
pick up the font's real width and height. This means I now _can't_ use my font of choice until I implement some command-line options; I wonder what feature will appear next :-) [originally from svn r2027]
This commit is contained in:
@ -461,7 +461,11 @@ void load_settings(char *section, int do_host, Config * cfg)
|
||||
gpps(sesskey, "WinTitle", "", cfg->wintitle, sizeof(cfg->wintitle));
|
||||
gppi(sesskey, "TermWidth", 80, &cfg->width);
|
||||
gppi(sesskey, "TermHeight", 24, &cfg->height);
|
||||
#ifdef _WINDOWS
|
||||
gpps(sesskey, "Font", "Courier New", cfg->font, sizeof(cfg->font));
|
||||
#else
|
||||
gpps(sesskey, "Font", "fixed", cfg->font, sizeof(cfg->font));
|
||||
#endif
|
||||
gppi(sesskey, "FontIsBold", 0, &cfg->fontisbold);
|
||||
#ifdef _WINDOWS
|
||||
gppi(sesskey, "FontCharSet", ANSI_CHARSET, &cfg->fontcharset);
|
||||
|
Reference in New Issue
Block a user