[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unicode font-backend + tiling
From: |
Zhang Wei |
Subject: |
Re: unicode font-backend + tiling |
Date: |
Thu, 07 Dec 2006 21:58:55 +0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
Kenichi Handa <address@hidden> writes:
> In article <address@hidden>, Zhang Wei <address@hidden> writes:
>> But the following fontconfig setting still takes no effect:
>> <match target="font" >
>
> How about changing that line to this as my example.
>
>> <match target="pattern">
Yes, that takes effect, but another problem arises, my setting is like this:
--8<---------------cut here---------------start------------->8---
<alias>
<family>Bitstream Vera Sans Mono</family>
<family>SimSun</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Bitstream Vera Sans Mono</family>
<family>SimSun</family>
</prefer>
</alias>
<match target="font" >
<test qual="any" name="family" compare="eq" >
<string>SimSun</string>
</test>
<test name="pixelsize" compare="more_eq" >
<double>12</double>
</test>
<test name="pixelsize" compare="less_eq" >
<double>18</double>
</test>
<edit name="antialias" mode="assign" >
<bool>false</bool>
</edit>
</match>
--8<---------------cut here---------------end--------------->8---
When I say
emacs --enable-font-backend -fn "Bitstream Vera Sans Mono:pixelsize=14" -Q
the ascii portion will use "Bitstream Vera Sans Mono", and chinese
characters will use "SimSun".
but if I use
<match target="pattern" >
to close the antialias of "SimSun", the ascii portion's antialias is
_also_ closed.
BTW, the following setting seems takes no effect:
--8<---------------cut here---------------start------------->8---
<match target="pattern" >
<test name="family" >
<string>SimSun</string>
</test>
<edit name="family" mode="prepend" binding="strong" >
<string>Bitstream Vera Sans Mono</string>
</edit>
</match>
--8<---------------cut here---------------end--------------->8---
this setting substitude ascii portion of "SimSun" with "Bitstream Vera
Sans Mono", it works well in Firefox, but start emacs with:
emacs --enable-font-backend -fn "SimSun:pixelsize=14" -Q
the ascii portion is still "SimSun", not "Bitstream Vera Sans Mono".
- Re: unicode font-backend + tiling, (continued)
- Re: unicode font-backend + tiling, Romain Francoise, 2006/12/06
- bug of char-displayable-p [Re: unicode font-backend + tiling], Kenichi Handa, 2006/12/06
- Re: unicode font-backend + tiling, Zhang Wei, 2006/12/06
- Re: unicode font-backend + tiling, Miles Bader, 2006/12/07
- Re: unicode font-backend + tiling, Kenichi Handa, 2006/12/07
- Re: unicode font-backend + tiling, James Cloos, 2006/12/07
- Re: unicode font-backend + tiling, Kenichi Handa, 2006/12/13
- Re: unicode font-backend + tiling, James Cloos, 2006/12/13
- Re: unicode font-backend + tiling,
Zhang Wei <=
Re: unicode font-backend + tiling, Jan Djärv, 2006/12/05