mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -05: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:
@ -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);
|
||||
|
Reference in New Issue
Block a user