From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84779 Path: news.gmane.org!not-for-mail From: Zhichu Chen Newsgroups: gmane.comp.tex.context Subject: Re: Simplefonts Date: Sun, 13 Oct 2013 17:56:03 +0800 Message-ID: <525A6E33.9040706@gmail.com> References: <3288E803-9426-41F1-AA62-144E5A21A085@gmail.com> <7D24BFCF-3023-47A2-A243-582C49B7FA79@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0060186565==" X-Trace: ger.gmane.org 1381658259 5343 80.91.229.3 (13 Oct 2013 09:57:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2013 09:57:39 +0000 (UTC) To: Wolfgang Schuster , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 13 11:57:44 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VVIQh-0002uh-9L for gctc-ntg-context-518@m.gmane.org; Sun, 13 Oct 2013 11:57:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id ADD40101E6; Sun, 13 Oct 2013 11:55:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5EXH2jT9XMtq; Sun, 13 Oct 2013 11:55:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9A1AA101E9; Sun, 13 Oct 2013 11:55:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50ED4101E9 for ; Sun, 13 Oct 2013 11:54:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SLJuwGmPG4vg for ; Sun, 13 Oct 2013 11:54:57 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 8D89A101E6 for ; Sun, 13 Oct 2013 11:54:57 +0200 (CEST) Original-Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9DA1lkd028323 for ; Sun, 13 Oct 2013 12:01:48 +0200 Original-Received: by mail-pa0-f49.google.com with SMTP id ld10so6246252pab.8 for ; Sun, 13 Oct 2013 02:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=3qqcsZqWysljUStkfnsgDcKCops8eBWG3i7COEa2X2Q=; b=EM6vFaaVftvI3fbVcJCSUS1Ujq0X4dTBiietgW4suBy0/m4V4NoiUHiyGMUvLbsMOf bomcFArA+0l64/a6NmmZox0wAiBNLKazplMgDza4oS3Nk+P83PmxVz5VJB70ZvaiSlq/ 9lpkbjrl/rQLfqASZyTjEPdzp3CKwG0DE/H90SkwxRyweVTg7vxEggmeT8/D7wRWNUqF zBTmNfBbgGCi/wrAU0IJrr+nPOy+SoLxvhBSEOiyX+GdZNyc13yMckWuZei4VYZ+ULkI TYvMwG1ngbMy2q6IiV8/8XyW/7y00oFEj84RzuR2MAxGQ5o9KEM30RK2I21VT+/ODc0f 5izA== X-Received: by 10.66.123.5 with SMTP id lw5mr31083062pab.83.1381658253527; Sun, 13 Oct 2013 02:57:33 -0700 (PDT) Original-Received: from [192.168.1.100] ([114.83.128.243]) by mx.google.com with ESMTPSA id yh1sm71050413pbc.21.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Oct 2013 02:57:32 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <7D24BFCF-3023-47A2-A243-582C49B7FA79@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400e:c03::231; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KAy1MOR - 69bad3c387ff - 20131013 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84779 Archived-At: This is a multi-part message in MIME format. --===============0060186565== Content-Type: multipart/alternative; boundary="------------020305060809040707030102" This is a multi-part message in MIME format. --------------020305060809040707030102 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable On 10/13/2013 01:39 AM, Wolfgang Schuster wrote: > > Am 12.10.2013 um 15:04 schrieb Zhichu Chen >: > >> Hi Wolfgang, >> >> Good to know that, but I might have some questions. >> >> >> On Fri, Oct 11, 2013 at 2:02 AM, Wolfgang Schuster=20 >> > wro= te: >> >> Hi all, >> >> \definefallbackfamily [mainface] [serif] [DejaVu Serif] >> [range=3Dcyrillic,force=3Dyes] >> >> What if I want to use the CJK font? The code in "font-sel.mkvi" hints=20 >> I could use range=3Dchinese but it didn't work. I have to use interval= =20 >> {0x00400-0x2FA1F} explicitly. > > When you take a look into char-def.lua you can see names certain=20 > character ranges and =93range=3Dcyrillic=94 > used such a name. > > For a chinese font you need=20 > =93range=3D{cjkunifiedideographs,cjkunifiedideographsextensiona,=85}". > Because the list with names is very long you do this setup only once=20 > with the \definefontfamilypreset > command, e.g. > > \definefontfamilypreset[chinese][range=3D{cjkunifiedideographs,cjkunifi= edideographsextensiona,=85}] > > and load this setup when you set the font with=20 > \definefontfamilyfallback, e.g. > > \definefontfamilyfallback[][