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


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

From: Kenichi Handa <handa <at> gnu.org>
To: Chong Yidong <cyd <at> gnu.org>
Cc: svenjoac <at> gmx.de, 3228 <at> debbugs.gnu.org
Subject: Re: bug#3228: 23.0.93;
	GTK font selection: asked for Courier, got Nimbus
Date: Fri, 17 Aug 2012 00:05:37 +0900
In article <87lihfiaqp.fsf <at> gnu.org>, Chong Yidong <cyd <at> gnu.org> writes:

> Kenichi Handa <handa <at> m17n.org> writes:
> > So, this problem can be solved by modifying x-select-font
> > (called from menu-set-font) to return a font-spec (with a
> > proper font-backend name in :type) instead of font-name.

> I've now done this in the trunk for the GTK 3 case.  It's not
> straightforward to do this for GTK 2, so I will not attempt that.

Thank you.  I also wrote:

> > 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?

---
Kenichi Handa
handa <at> gnu.org




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.