GNU bug report logs - #3228
23.0.93; GTK font selection: asked for Courier, got Nimbus

Previous Next

Package: emacs;

Reported by: Sven Joachim <svenjoac <at> gmx.de>

Date: Wed, 6 May 2009 08:25:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Kenichi Handa <handa <at> gnu.org>
Cc: svenjoac <at> gmx.de, 3228 <at> debbugs.gnu.org
Subject: bug#3228: 23.0.93; GTK font selection: asked for Courier, got Nimbus
Date: Fri, 17 Aug 2012 17:10:06 +0800
Kenichi Handa <handa <at> gnu.org> writes:

>> > But, x-select-font is called from mouse-appearance-menu (in
>> > mouse.el) too, and it does something like this:
>  
>> > (buffer-face-mode-invoke (font-face-attributes (x-select-font)) ...)
>
>> > and thus the :type information is lost by
>> > font-face-attributes.  I don't know why we need
>> > font-face-attributes here.
>
> How did you solve it?  Or, is it not a problem?

Sorry, I missed that.  I just committed a fix.  If x-select-font returns
a font spec, mouse-appearance-menu now calls

   (buffer-face-mode-invoke (list :font font) ...)

This required fixing xfaces.c to allow face-remapping using :font, which
was previously broken.




This bug report was last modified 10 years and 178 days ago.

Previous Next


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