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


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Faré <fahree <at> gmail.com>, 28901 <at> debbugs.gnu.org
Subject: bug#28901: 25.3; Font selector fails to remember current font and size
Date: Tue, 19 Nov 2019 13:43:57 +0100
tags 28901 fixed
close 28901 27.1
quit

>>>>> On Mon, 18 Nov 2019 10:36:33 +0100, Lars Ingebrigtsen <larsi <at> gnus.org> said:

    Lars> Robert Pluim <rpluim <at> gmail.com> writes:
    >> You canʼt directly specify them, but you can at least remember the
    >> previous settings:

    Lars> [...]

    >> +#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

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

Closing.
Committed to master as as b6db2ed1ea

Robert




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.