mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Just noticed that selecting "client:Bitstream Vera Sans Mono 10" in
the font config box and then invoking the unifontsel causes the box to come up empty rather than populated with that font. Turns out that I completely forgot to have pangofont_canonify_fontname() return the flags word, ahem. [originally from svn r7988]
This commit is contained in:
parent
8ac9896853
commit
6af8462765
@ -1131,6 +1131,7 @@ static char *pangofont_canonify_fontname(GtkWidget *widget, const char *name,
|
||||
}
|
||||
|
||||
*size = PANGO_PIXELS(pango_font_description_get_size(desc));
|
||||
*flags = FONTFLAG_CLIENTSIDE;
|
||||
pango_font_description_set_size(desc, PANGO_DUMMY_SIZE * PANGO_SCALE);
|
||||
newname = pango_font_description_to_string(desc);
|
||||
retname = dupstr(newname);
|
||||
|
Loading…
Reference in New Issue
Block a user