Subject: Re: bug#28901: 25.3; Font selector fails to remember current font and size

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 18 Nov 2019 10:36:33 +0100

Robert Pluim <[email-masked]> writes:

> You canʼt directly specify them, but you can at least remember the
> previous settings:

[...]

> +#ifdef HAVE_GTK3
> +      PangoFontDescription *desc
> +        = pango_font_description_from_string (default_name);
> +      gtk_font_chooser_set_font_desc (GTK_FONT_CHOOSER (w), desc);
> +      pango_font_description_free (desc);
> +#else
> +      gtk_font_chooser_set_font (GTK_FONT_CHOOSER (w), default_name);
> +#endif

Oh, cool!  Sounds good to me.  (Haven't tested the patch, though.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no