From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64334 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: for each script a different font Date: Tue, 7 Dec 2010 16:19:45 +0100 Message-ID: <4014F4A9-C1A7-4D14-A30C-FDC3BC65E839@uni-bonn.de> References: <20101207134409.GC1971@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291735234 24275 80.91.229.12 (7 Dec 2010 15:20:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2010 15:20:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 07 16:20:30 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PPzLB-0004cQ-Lk for gctc-ntg-context-518@m.gmane.org; Tue, 07 Dec 2010 16:20:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F548CA914; Tue, 7 Dec 2010 16:20:23 +0100 (CET) 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 hemXM74Q3pMA; Tue, 7 Dec 2010 16:20:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4D66CA91A; Tue, 7 Dec 2010 16:20:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 552FDCA914 for ; Tue, 7 Dec 2010 16:20:10 +0100 (CET) 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 nt5UAdA51QfD for ; Tue, 7 Dec 2010 16:20:02 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 4BF73CA91A for ; Tue, 7 Dec 2010 16:20:02 +0100 (CET) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB7FK1GK025677 for ; Tue, 7 Dec 2010 16:20:01 +0100 Original-Received: from [87.178.54.58] (account tschmit1@uni-bonn.de HELO [192.168.0.2]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.2.12) with ESMTPA id 51051810 for ntg-context@ntg.nl; Tue, 07 Dec 2010 16:20:01 +0100 In-Reply-To: <20101207134409.GC1971@khaled-laptop> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.113; country=DE; region=07; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eDEfk1ms - cb89a6472bc2 - 20101207 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64334 Archived-At: On Dec 7, 2010, at 2:44 PM, Khaled Hosny wrote: > Then: > > \definefontsynonym [Serif][name:vollkornregular][fallbacks=arrows] > > But I don't know how to use multiple fallbacks. You can define as many fallbacks as you wish. Here's a silly example: \definefontfallback [Foo] [name:texgyretermes-bold] [0x0031-0x0032] [force=yes,check=no] \definefontfallback [Foo] [name:texgyreheros-italic] [0x0033-0x0034] [force=yes,check=no] \definefontfallback [Foo] [name:texgyreadventor-bolditalic] [0x0035-0x0036] [force=yes,check=no] \definefontsynonym[SerifPlus][Serif][fallbacks=Foo] \definefont[MySerif][SerifPlus at 24pt] \starttext \MySerif 1234567890 \stoptext That should get you going. HTH Thomas ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________