From: Simon Tatham Date: Sun, 13 Apr 2008 07:48:10 +0000 (+0000) Subject: Just noticed that selecting "client:Bitstream Vera Sans Mono 10" in X-Git-Tag: 0.61~249^2~6 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=6af8462765b88d4e3ef55d3843109c10c579af00;hp=-c;p=PuTTY.git 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] --- 6af8462765b88d4e3ef55d3843109c10c579af00 diff --git a/unix/gtkfont.c b/unix/gtkfont.c index a909364c..d73e920a 100644 --- a/unix/gtkfont.c +++ b/unix/gtkfont.c @@ -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);