emacs-devel
[Top][All Lists]
Advanced

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

Re: unicode font-backend + tiling


From: Kenichi Handa
Subject: Re: unicode font-backend + tiling
Date: Wed, 06 Dec 2006 21:01:13 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Mikhail Gusarov <address@hidden> writes:

> You (address@hidden) wrote:

 KH> So, we must design a flexible interface that can be controlled by
 KH> users.

> The name of this interface is fontconfig.

But,

Miles Bader <address@hidden> writes:

> However I've _also_ just tried my test in gnome-terminal and some other
> gnome apps, and they do the same thing (use AA always, even for CJK) in
> the "body" text.  However the same programs use non-AA CJK text in menus
> etc.!  So I don't know where that decision is getting made....

> Firefox on the other hand, even its "body" text, uses AA at small sizes,
> non-AA at normal sizes, and AA at big sizes, which I gather is the
> desired behavior.

Doesn't it mean that an application program anyway have to
do fine tuning over fontconfig?

By the way, I've just installed another fix for Xft
font-backend so that fontconfig's setting takes effect.

With the latest code,  when I have this in ~/.fonts.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <match target="pattern">
   <test name="family">
     <string>AR PL SungtiL GB</string>
   </test>
   <edit name="antialias" mode="assign">
     <bool>false</bool>
   </edit>
 </match>

and set han script code as this:

(set-fontset-font
 "fontset-default"
 'han
 '("AR PL SungtiL GB" . "iso10646-1"))

Chinese characters are dispalyed without antialias.

---
Kenichi Handa
address@hidden




reply via email to

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