From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Jason Rumney" <jasonr@gnu.org>
Cc: emacs-devel@gnu.org, Kevin Yu <yujie052@gmail.com>,
Kenichi Handa <handa@m17n.org>
Subject: Re: Ntemacs chooses wrong font.
Date: Wed, 11 Jun 2008 15:48:18 +0200 [thread overview]
Message-ID: <f7ccd24b0806110648v6fec2c5fwcfa136cef8296cc6@mail.gmail.com> (raw)
In-Reply-To: <484FC664.1070403@gnu.org>
On Wed, Jun 11, 2008 at 14:34, Jason Rumney <jasonr@gnu.org> wrote:
> The problem appears to be that the system API used in one of the encode_char
> functions on Windows (I don't know whether it is uniscribe or gdi) seems to
> return a space glyph for unsupported characters in some fonts, instead of 0
> (which is ".notdef" according to the truetype spec).
FWIW, that's what I see:
- using gdi (because I've forced Emacs to fail loading usp10.dll or
by using Emacs.fontBackend: gdi) => Emacs "finds" U+2200 at glyph #3
of DejaVu Sans Mono.
- using uniscribe (by means of Emacs.fontBackend: uniscribe) =>
Emacs correctly finds U+2200 at #421 of MS Mincho.
- leaving it to itself to choose (no Emacs.fontBackend): it "find"
the #x3 glyph in DejaVu Sans Mono
so it seems gdi-related.
> Perhaps C-u C-x = should also report which font backend a font belongs to,
> to make tracking these sorts of bugs down easier.
BTW, perhaps there should be a (trivial) function to list available
backends. Currently the only way I can see is
(cdr (assq 'font-backend (frame-parameters)))
and that depends on Emacs.fontBackend not being set to limit the list.
Juanma
next prev parent reply other threads:[~2008-06-11 13:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-06 12:52 Ntemacs chooses wrong font Kevin Yu
2008-06-06 21:23 ` Jason Rumney
2008-06-07 2:41 ` Kevin Yu
2008-06-11 2:32 ` Kevin Yu
2008-06-11 8:36 ` Jason Rumney
2008-06-11 10:51 ` Kevin Yu
2008-06-11 11:27 ` Jason Rumney
2008-06-11 12:05 ` Kevin Yu
2008-06-11 12:40 ` Jason Rumney
2008-06-11 11:50 ` Kenichi Handa
2008-06-11 12:09 ` Kevin Yu
2008-06-11 12:29 ` Kenichi Handa
2008-06-11 12:34 ` Jason Rumney
2008-06-11 13:11 ` Kenichi Handa
2008-06-11 13:48 ` Juanma Barranquero [this message]
2008-06-16 21:37 ` Jason Rumney
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0806110648v6fec2c5fwcfa136cef8296cc6@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=handa@m17n.org \
--cc=jasonr@gnu.org \
--cc=yujie052@gmail.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).