unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ilya Zakharevich <ilya@Math.Berkeley.EDU>
Cc: monnier+gnu.emacs.help/news/@rum.cs.yale.edu, emacs-devel@gnu.org
Subject: Re: MULE shows gibberish; now what?
Date: Wed, 9 Oct 2002 18:08:41 -0700	[thread overview]
Message-ID: <20021010010840.GD3346@math.berkeley.edu> (raw)
In-Reply-To: <200210100029.JAA19642@etlken.m17n.org>

On Thu, Oct 10, 2002 at 09:29:12AM +0900, Kenichi Handa wrote:
> (1) Now people install CP-1252 fonts and give alias names
>     "*-iso8859-5".
> (2) Emacs finds such a font for displaying
>     cyrillic-iso8859-5 chars.
> 
> Correct?
> 
> 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]

(as output by describe-fontset).

> > 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?

Ilya

P.S.  In my previous message Cronix was misspelled.  Sorry!

  parent reply	other threads:[~2002-10-10  1:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <amot9n$24j8$1@agate.berkeley.edu>
     [not found] ` <ao0hgi$1fim$1@agate.berkeley.edu>
2002-10-09 18:20   ` MULE shows gibberish; now what? 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 [this message]
2002-10-10  2:02         ` Kenichi Handa
2002-10-10  6:44           ` 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

  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=20021010010840.GD3346@math.berkeley.edu \
    --to=ilya@math.berkeley.edu \
    --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 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).