From: Kenichi Handa <handa@m17n.org>
To: Drew Adams <drew.adams@oracle.com>, 3081@emacsbugs.donarmstrong.com
Subject: bug#3081: 23.0.92; x-list-fonts no longer gives correct result - substitutes * for fixed font size
Date: Thu, 23 Apr 2009 11:07:47 +0900 [thread overview]
Message-ID: <E1LwoLr-0004hH-W2@etlken> (raw)
In-Reply-To: <000b01c9c36c$460c3820$c2b22382@us.oracle.com> (drew.adams@oracle.com)
In article <000b01c9c36c$460c3820$c2b22382@us.oracle.com>, "Drew Adams" <drew.adams@oracle.com> writes:
> I have this defcustom, which I use to choose a small font:
> (defcustom palette-font
> (and window-system
> (or (car (x-list-fonts
> "-*-Courier-*-*-*-*-5-*-*-*-*-*-iso8859-1" nil nil 1)) ; 1
> (car (x-list-fonts "-*-fixed-*-*-*-*-5-*-*-*-*-*-iso8859-1"
> nil nil 1)) ; 2
> (car (x-list-fonts
> "-*-Terminal-*-*-*-*-5-*-*-*-*-*-iso8859-1" nil nil 1)) ; 3
> (car (x-list-fonts "-*-*-*-*-*-*-5-*-*-*-*-*-iso8859-1" nil
> nil 1)))) ;4
> "...")
[...]
> In Emacs 23, these are the values:
> 1. ("-outline-Courier-bold-normal-normal-mono-*-*-*-*-c-*-iso8859-1")
> 2. nil
> 3. nil
> 4. ("-outline-Lucida Sans
> Typewriter-bold-normal-normal-sans-*-*-*-*-c-*-iso8859-1")
> The first difference to notice is #4: a completely different font
> family is used. Why should this be? Anyway, I don't really have a
> problem with this.
If you don't specify a family, which family is selected is
completely arbitrary.
> The problem is that the font size is not correct: * instead of a real
> font size. The whole point of this defcustom is to try to find a
> default value for the option that provides a tiny font that the user
> has available. It tries to match various fonts of size 5, until it
> finds a match.
I installed a fix. Please try again.
---
Kenichi Handa
handa@m17n.org
next prev parent reply other threads:[~2009-04-23 2:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-22 17:03 bug#3081: 23.0.92; x-list-fonts no longer gives correct result - substitutes * for fixed font size Drew Adams
2009-04-22 17:36 ` bug#3081: 23.0.92; x-list-fonts no longer gives correct result - substitutes * forfixed " Drew Adams
2009-04-23 2:07 ` Kenichi Handa [this message]
2009-04-23 5:01 ` Drew Adams
2009-04-23 11:26 ` Kenichi Handa
2009-04-23 13:58 ` Drew Adams
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=E1LwoLr-0004hH-W2@etlken \
--to=handa@m17n.org \
--cc=3081@emacsbugs.donarmstrong.com \
--cc=drew.adams@oracle.com \
/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.