From 6af8462765b88d4e3ef55d3843109c10c579af00 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 13 Apr 2008 07:48:10 +0000 Subject: [PATCH] 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] --- unix/gtkfont.c | 1 + 1 file changed, 1 insertion(+) 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);