emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MULE shows gibberish; now what?


From: Ilya Zakharevich
Subject: Re: MULE shows gibberish; now what?
Date: Wed, 9 Oct 2002 18:08:41 -0700
User-agent: Mutt/1.4i

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!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]