emacs-devel
[Top][All Lists]
Advanced

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

Re: X fonts selection weirdness


From: Kenichi Handa
Subject: Re: X fonts selection weirdness
Date: Wed, 09 Jul 2008 10:42:08 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Sorry for the late response on this matter.

In article <address@hidden>, David Kastrup <address@hidden> writes:

> Kenichi Handa <address@hidden> writes:
> > I installed a fix.  Please try again.

> [...]

> > The above should work, but I'm now thinking about
> > introducing non-default-font-script-list:

> [...]

> I can't help feeling that we are currently stumbling without much
> orientation through a maze of ad-hoc local patches and fixes.

I've just installed a change that doesn't use
non-default-font-script-list but respects the specification
of fontset while giving the highest priority to the default
font.

We have these four font groups for non-ASCII characters.

(1) What specified in the current fontset.
(2) What specified in the default fontset
(3) What specified as the fallbacks in the current fontset.
(3) What specified as the fallbacks in the default fontset.

The latest Emacs tries each of the above font group in the
above order.  And while selecting a font from a font group,
if the default font (i.e. what selected for ASCII characters
of the current face) supports the target character, and if
any of a font in the group matches with the default font,
select the default font.

This way, Emacs uses the default font for all characters
except for such characters that the fontset doesn't specify
a font matching with it.

---
Kenichi Handa
address@hidden




reply via email to

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