From: Taylor Venable <taylor@metasyntax.net>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: Font Problem with 23.0.92.1 - wrong font used
Date: Mon, 13 Apr 2009 23:14:19 -0400 [thread overview]
Message-ID: <20090414031419.GF6280@metasyntax.net> (raw)
In-Reply-To: <E1LtX7A-0004lN-0B@etlken>
On Tue, Apr 14, 2009 at 10:07:04AM +0900, Kenichi Handa wrote:
> In article <20090413173850.GA30710@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:
>
> > It looks a lot better now. Without the ja font, from a preliminary
> > look everything seems to be good. (See attached screenshot named
> > emacs-no-ja-font.png) However, with the ja font in the font path
> > things are still a little off; bold faces are the wrong width (80
> > rather than the requested 70) and some other faces (like tooltip and
> > inactive mode line) use the "semicondensed" variant rather than the
> > "normal" variant. The default face is now correct though. See
> > attached screenshot named emacs-with-ja-font.png in the highlighted
> > areas for the things that are still not quite right.
>
> Ummm, weird. Please define this function:
>
> (defun font-file-at ()
> (interactive)
> (message "%s" (aref (query-font (font-at (point))) 1)))
>
> and run it while putting cursor on "abc..." of `default',
> `mode-line-inactive', and `tooltip' lines in *Faces* buffer
> that is shown by M-x list-faces-display RET.
First, when the Japanese font is present:
default: /usr/X11R6/lib/X11/fonts/misc/7x13-ISO8859-1.pcf.gz
mode-line-inactive: [the same]
tooltip: [the same]
Strangely enough, the font shown as the example for 'default' is not
the font used in the buffer display; again it appears to be the semi-
condensed variant, whereas the font used in the buffer display appears
to be the correct normal variant. If I do M-x customize-face default
I notice that the value has been set outside customize, and telling it
to set for the current session redisplays the buffer using the semi-
condensed face.
When I run this function on 'bold' I get nil. Finding a face that
looks like what I want and see in the buffer display, the function
reports the value as /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz - but
the font for the 'bold-italic' face which also looks correct (there is
no italic slant variant for the -misc-fixed font I'm using) is
/usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz
========================================
Without the Japanese font in the font path, I get these:
default: /usr/X11R6/lib/X11/fonts/misc/7x13.pcf.gz
bold: /usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz
It seems as if these are the fonts that I want for normal and bold,
respectively. It seems as if the default and bold faces are being
chosen incorrectly while the Japanese font is present.
--
Taylor Christopher Venable
http://real.metasyntax.net:2357/
next prev parent reply other threads:[~2009-04-14 3:14 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-07 2:28 Font Problem with 23.0.92.1 - wrong font used Taylor Venable
2009-04-07 6:28 ` Kenichi Handa
[not found] ` <20090407084801.GC5160@metasyntax.net>
2009-04-08 2:48 ` Kenichi Handa
2009-04-08 5:02 ` Taylor Venable
2009-04-10 12:44 ` Kenichi Handa
2009-04-10 21:38 ` Taylor Venable
2009-04-13 12:41 ` Kenichi Handa
2009-04-13 17:38 ` Taylor Venable
2009-04-14 1:07 ` Kenichi Handa
2009-04-14 3:14 ` Taylor Venable [this message]
2009-04-14 3:49 ` Kenichi Handa
2009-04-14 11:50 ` Taylor Venable
2009-04-15 2:39 ` Taylor Venable
2009-04-16 1:43 ` Kenichi Handa
2009-04-16 14:04 ` Chong Yidong
2009-04-17 1:01 ` Kenichi Handa
2009-04-17 2:30 ` Chong Yidong
2009-04-17 2:40 ` Kenichi Handa
2009-04-17 2:48 ` Taylor Venable
2009-04-17 4:09 ` Kenichi Handa
2009-04-09 23:17 ` Taylor Venable
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=20090414031419.GF6280@metasyntax.net \
--to=taylor@metasyntax.net \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.org \
/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.