GNU bug report logs - #28901
25.3; Font selector fails to remember current font and size

Previous Next

Package: emacs;

Reported by: Faré <fahree <at> gmail.com>

Date: Thu, 19 Oct 2017 16:42:02 UTC

Severity: minor

Tags: fixed

Found in version 25.3

Fixed in version 27.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #30 received at 28901 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: Faré <fahree <at> gmail.com>, 28901 <at> debbugs.gnu.org
Subject: Re: bug#28901: 25.3; Font selector fails to remember current font
 and size
Date: Mon, 18 Nov 2019 10:36:33 +0100
Robert Pluim <rpluim <at> gmail.com> 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




This bug report was last modified 5 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.