From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62081 Path: news.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: Cambria and companion fonts Date: Wed, 29 Sep 2010 15:25:20 +0200 Message-ID: <105C1FF5-9586-41FB-B797-154AC6A8823F@gundla.ch> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285766754 2573 80.91.229.12 (29 Sep 2010 13:25:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 13:25:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 29 15:25:49 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 1P0wfL-0006jd-GH for gctc-ntg-context-518@m.gmane.org; Wed, 29 Sep 2010 15:25:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0C0ACA75D; Wed, 29 Sep 2010 15:25:45 +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 yxmYJXrWFFz5; Wed, 29 Sep 2010 15:25:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B2048CA755; Wed, 29 Sep 2010 15:25:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 92259CA755 for ; Wed, 29 Sep 2010 15:25:38 +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 xSIA596t8jNA for ; Wed, 29 Sep 2010 15:25:27 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 103B3CA753 for ; Wed, 29 Sep 2010 15:25:27 +0200 (CEST) Original-Received: from unimail.uni-dortmund.de (mx1.HRZ.Uni-Dortmund.DE [129.217.128.51]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8TDPQvI005882 for ; Wed, 29 Sep 2010 15:25:26 +0200 Original-Received: from [192.168.2.102] (dslb-084-060-120-165.pools.arcor-ip.net [84.60.120.165]) (authenticated bits=0) by unimail.uni-dortmund.de (8.14.4/8.14.4) with ESMTP id o8TDPKXG004333 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Wed, 29 Sep 2010 15:25:25 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=129.217.128.51; country=DE; region=07; city=Dortmund; latitude=51.5167; longitude=7.4500; http://maps.google.com/maps?q=51.5167,7.4500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDcBpq2y - a437f3735dd6 - 20100929 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:62081 Archived-At: >> While looking at Cambria, is there any typescript (or something similar) that defines for example Corbel or Candara as a companion to Cambria? > > No but you can write your own typescript: > > \definetypeface [mainface] [rm] [serif] [cambria] [default] > \definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto] > \definetypeface [mainface] [tt] [mono] [consolas] [default] [rscale=auto] > \definetypeface [mainface] [mm] [math] [cambria] [default] > > \setupbodyfont[mainface] OK, I see. (I only searched the .tex files, but missed the .mkiv while searching for "corbel"). Thanks again! But even if I had seen the lines with corbel, I would have asked how to use the typescript. The definition in type-otf.mkiv goes like: \starttypescript [sans] [corbel] [name] ... ... \stoptypescript I guess [name] is just a default classifier for defining the base level of a filename-font mapping, right? I assume that somewhere there is a statement like \usetypescript [sans] [corbel] [name] after saying \definetypeface [mainface] [ss] [sans] [corbel] [default] [rscale=auto] Is this the way this is done internally? What exactly is rscale=auto ? Patrick ___________________________________________________________________________________ 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 ___________________________________________________________________________________