From: Kenichi Handa <handa@m17n.org>
Cc: monnier+gnu.emacs.help/news/@rum.cs.yale.edu, emacs-devel@gnu.org
Subject: Re: MULE shows gibberish; now what?
Date: Thu, 10 Oct 2002 11:02:18 +0900 (JST) [thread overview]
Message-ID: <200210100202.LAA19794@etlken.m17n.org> (raw)
In-Reply-To: <20021010010840.GD3346@math.berkeley.edu> (message from Ilya Zakharevich on Wed, 9 Oct 2002 18:08:41 -0700)
In article <20021010010840.GD3346@math.berkeley.edu>, Ilya Zakharevich <ilya@Math.Berkeley.EDU> writes:
>> Then, if such a font can be distinguished from correct
>> iso8859-5 fonts (perhaps, by family or foundary fields), the
>> easiest solution is to ignore such a font by setting the
>> variable `face-ignored-fonts' properly.
> It is not clear what "properly" means.
> (setq face-ignored-fonts '(".*RAWIN-R"))
> does not fix the things;
> (setq face-ignored-fonts '(".*Cronyx.*"))
> does fix the things... The problematic font is
> cyrillic-iso8859-5 -*-*-*-iso8859-5
> [-Cronyx-Fixed-Medium-R-Normal--15-140-75-75-C-90-RAWIN-R]
Ok, then, I guess the original font name is:
-Cronyx-Fixed-Medium-R-Normal--15-140-75-75-C-90-RAWIN-R
and the alias name is
-Cronyx-Fixed-Medium-R-Normal--15-140-75-75-C-90-ISO8859-5
Thus,
(setq face-ignored-fonts '(".*RAWIN-R"))
can't reject the alias name but
(setq face-ignored-fonts '(".*Cronyx.*"))
can.
The reason why M-x describe-fontset shows the original font
name is that Emacs calls XLoadQueryFont to get also the info
once a font is decided. Then Emacs extracts "FONT" property
(if any) from the info and remember it as the correct font
name.
>> > It could also look at the CHARSET_REGISTRY and CHARSET_ENCODING property
>> > of the font (rather than assuming it's the same as in the fontname) ?
>>
>> To get those properties, we must call XListFontsWithInfo
>> which, I think, is very slow compared with XListFonts.
> Hmm, is it possible to get the actual font name without getting the info?
No, as far as I know.
---
Ken'ichi HANDA
handa@m17n.org
next prev parent reply other threads:[~2002-10-10 2:02 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-24 5:30 MULE shows gibberish; now what? Ilya Zakharevich
2002-09-24 8:42 ` Kai Großjohann
2002-09-24 15:59 ` Peter J. Acklam
2002-09-24 20:05 ` Kai Großjohann
2002-09-28 11:09 ` Peter J. Acklam
2002-09-28 12:22 ` Kai Großjohann
[not found] ` <k7l61bjc.fsf@online.no>
2002-09-28 15:58 ` Kai Großjohann
2002-09-28 16:32 ` Peter J. Acklam
2002-09-28 17:12 ` Kai Großjohann
2002-09-29 9:27 ` Peter J. Acklam
2002-09-29 15:45 ` Kai Großjohann
2002-09-29 16:27 ` Peter J. Acklam
2002-09-29 20:27 ` Kai Großjohann
2002-10-01 7:59 ` Peter J. Acklam
2002-09-29 20:13 ` Stefan Monnier <foo@acm.com>
2002-09-30 1:22 ` Miles Bader
[not found] ` <mailman.1033349070.28368.help-gnu-emacs@gnu.org>
2002-09-30 14:03 ` Stefan Monnier <foo@acm.com>
2002-09-29 20:27 ` Kai Großjohann
2002-09-29 0:03 ` Clemens Fischer
2002-09-29 15:44 ` Kai Großjohann
[not found] ` <amr0cn$2lvo$1@agate.berkeley.edu>
2002-09-25 14:11 ` Kai Großjohann
[not found] ` <amu08m$i97$1@agate.berkeley.edu>
2002-09-26 8:23 ` Kai Großjohann
[not found] ` <amvppk$10v4$1@agate.berkeley.edu>
2002-09-26 23:09 ` Oliver Scholz
2002-09-27 11:51 ` Kai Großjohann
[not found] ` <an2dcr$1phl$1@agate.berkeley.edu>
2002-09-27 20:43 ` Kai Großjohann
[not found] ` <an3ksh$27f2$1@agate.berkeley.edu>
2002-09-28 12:20 ` Kai Großjohann
[not found] ` <an7n4r$8dh$1@agate.berkeley.edu>
2002-09-30 20:49 ` Jason Rumney
2002-09-30 21:22 ` Ilya Zakharevich
2002-10-01 22:10 ` Jason Rumney
2002-10-02 1:30 ` Ilya Zakharevich
2002-10-02 13:10 ` Stefan Monnier <foo@acm.com>
2002-10-02 19:50 ` Jason Rumney
2002-09-29 12:28 ` Jason Rumney
[not found] ` <an0bd9$1832$1@agate.berkeley.edu>
2002-09-27 11:54 ` Kai Großjohann
[not found] ` <an2dig$1pi4$1@agate.berkeley.edu>
2002-09-27 20:37 ` Stefan Monnier <foo@acm.com>
2002-09-28 7:15 ` Ilya Zakharevich
2002-10-02 23:48 ` Ilya Zakharevich
2002-10-03 16:12 ` Stefan Monnier <foo@acm.com>
2002-10-05 10:00 ` Ilya Zakharevich
2002-10-05 16:07 ` Stefan Monnier <foo@acm.com>
2002-10-06 0:43 ` Ilya Zakharevich
2002-10-07 20:19 ` Stefan Monnier <foo@acm.com>
2002-10-08 0:39 ` Ilya Zakharevich
2002-10-08 13:33 ` Stefan Monnier <foo@acm.com>
2002-10-08 18:52 ` Ilya Zakharevich
2002-10-08 19:02 ` MULE shows gibberish; RAWIN-R vs iso8859-5 Ilya Zakharevich
2002-09-27 20:44 ` MULE shows gibberish; now what? Kai Großjohann
2002-09-27 22:30 ` Oliver Scholz
2002-09-27 22:42 ` Oliver Scholz
2002-09-27 7:29 ` Luis O. Silva
2002-09-27 7:28 ` Ilya Zakharevich
2002-10-09 6:14 ` Ilya Zakharevich
2002-10-09 18:20 ` Stefan Monnier <foo@acm.com>
2002-10-09 20:03 ` Ilya Zakharevich
2002-10-09 21:39 ` Stefan Monnier
2002-10-10 0:55 ` Ilya Zakharevich
2002-10-10 0:29 ` Kenichi Handa
2002-10-10 0:55 ` Stefan Monnier
2002-10-10 1:51 ` Kenichi Handa
2002-10-10 0:58 ` Ilya Zakharevich
2002-10-10 1:30 ` Kenichi Handa
2002-10-10 1:08 ` Ilya Zakharevich
2002-10-10 2:02 ` Kenichi Handa [this message]
2002-10-10 6:44 ` Ilya Zakharevich
2002-10-31 0:48 ` Ilya Zakharevich
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=200210100202.LAA19794@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=monnier+gnu.emacs.help/news/@rum.cs.yale.edu \
/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.