all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zhang Wei <id.brep@gmail.com>
Subject: Re: unicode font-backend + tiling
Date: Thu, 07 Dec 2006 21:58:55 +0800	[thread overview]
Message-ID: <87zm9zkdsw.fsf@emacsfans.org> (raw)
In-Reply-To: <E1GsH4s-0000NF-Hg@etlken.m17n.org> (Kenichi Handa's message of "Thu\, 07 Dec 2006 20\:06\:10 +0900")

Kenichi Handa <handa@m17n.org> writes:

> In article <ulklkxr9k.fsf@gmail.com>, Zhang Wei <id.brep@gmail.com> 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".

  parent reply	other threads:[~2006-12-07 13:58 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-05  0:40 unicode font-backend + tiling Miles Bader
2006-12-05  1:28 ` Leo
2006-12-05  2:18   ` Miles Bader
2006-12-05  2:52     ` Leo
2006-12-05  3:07       ` Miles Bader
2006-12-05 10:03         ` Juanma Barranquero
2006-12-05 10:25           ` Miles Bader
2006-12-05 11:11           ` Kenichi Handa
2006-12-05  4:30       ` Kenichi Handa
2006-12-05  4:42         ` Miles Bader
2006-12-05  5:16           ` Kenichi Handa
2006-12-05  5:40             ` Leo
2006-12-05  6:07             ` Miles Bader
2006-12-06 12:21               ` Mikhail Gusarov
2006-12-05  6:19             ` Jan Djärv
2006-12-05  6:37               ` Miles Bader
2006-12-05 10:55             ` Miles Bader
2006-12-05 11:19               ` Kenichi Handa
2006-12-05 11:31                 ` Miles Bader
2006-12-05 12:18                   ` Kenichi Handa
2006-12-06  4:24                     ` Miles Bader
2006-12-06 12:12                       ` Kenichi Handa
2006-12-05 14:48           ` Stefan Monnier
2006-12-05  4:43         ` Zhang Wei
2006-12-05  5:45         ` Mikhail Gusarov
2006-12-06 12:01           ` Kenichi Handa
2006-12-06 12:44             ` Leo
2006-12-06 12:51               ` Kenichi Handa
2006-12-06 13:32                 ` Leo
2006-12-06 19:57             ` Romain Francoise
2006-12-07  0:47               ` bug of char-displayable-p [Re: unicode font-backend + tiling] Kenichi Handa
2006-12-07  4:29             ` unicode font-backend + tiling Zhang Wei
2006-12-07  9:06               ` Miles Bader
2006-12-07 11:06               ` Kenichi Handa
2006-12-07 12:58                 ` James Cloos
2006-12-13  7:55                   ` Kenichi Handa
2006-12-13 19:24                     ` James Cloos
2006-12-07 13:58                 ` Zhang Wei [this message]
2006-12-05  6:14 ` Jan Djärv

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zm9zkdsw.fsf@emacsfans.org \
    --to=id.brep@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.