all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Kenichi Handa <handa@gnu.org>
Cc: svenjoac@gmx.de, 3228@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	[thread overview]
Message-ID: <877gsxnatt.fsf@gnu.org> (raw)
In-Reply-To: <874no2x4fy.fsf@gnu.org> (Kenichi Handa's message of "Fri, 17 Aug 2012 00:05:37 +0900")

Kenichi Handa <handa@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.





  reply	other threads:[~2012-08-17  9:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06  7:51 bug#3228: 23.0.93; GTK font selection: asked for Courier, got Nimbus Sven Joachim
2009-05-07  6:57 ` Kenichi Handa
2009-05-07  7:19   ` Sven Joachim
2009-05-07 11:51     ` Kenichi Handa
2009-05-07 18:32       ` Sven Joachim
2009-05-07 19:21         ` Stefan Monnier
2009-05-08  1:49         ` Kenichi Handa
2009-05-08  6:13           ` Sven Joachim
2009-05-18 12:42             ` Kenichi Handa
2012-08-16  6:58               ` Chong Yidong
2012-08-16 15:05                 ` Kenichi Handa
2012-08-17  9:10                   ` Chong Yidong [this message]
2015-01-20  4:46 ` Paul Eggert
2015-01-20 19:08   ` Glenn Morris
2015-01-20 20:24     ` Paul Eggert
2015-01-20 22:24       ` Glenn Morris
2015-01-21  6:07         ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gsxnatt.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=3228@debbugs.gnu.org \
    --cc=handa@gnu.org \
    --cc=svenjoac@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.