From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62222 Path: news.gmane.org!not-for-mail From: Florian Wobbe Newsgroups: gmane.comp.tex.context Subject: Re: Consolas Date: Fri, 01 Oct 2010 12:42:37 +0200 Message-ID: <748D15EB-F71F-49E6-AF61-8757EE9881D9@awi.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285929787 20263 80.91.229.12 (1 Oct 2010 10:43:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 10:43:07 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 01 12:43:03 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 1P1d4x-0006tg-QE for gctc-ntg-context-518@m.gmane.org; Fri, 01 Oct 2010 12:43:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E1119CA6DC; Fri, 1 Oct 2010 12:43:02 +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 QTAosm2fTrKc; Fri, 1 Oct 2010 12:43:00 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F290CCA691; Fri, 1 Oct 2010 12:42:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 723B6CA691 for ; Fri, 1 Oct 2010 12:42:58 +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 HyJ4mEyFG9bx for ; Fri, 1 Oct 2010 12:42:46 +0200 (CEST) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 8D9D7CA68F for ; Fri, 1 Oct 2010 12:42:46 +0200 (CEST) Original-Received: from mails3.awi.de (mails3.AWI.DE [134.1.2.14]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o91AgjZn027247 for ; Fri, 1 Oct 2010 12:42:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by mails3.awi.de (Postfix) with ESMTP id 10B1CB3C06 for ; Fri, 1 Oct 2010 12:42:43 +0200 (MEST) X-Virus-Scanned: amavisd-new at awi.de Original-Received: from localhost ([127.0.0.1]) by localhost (mails3.awi.de [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id HYJarbM84pM0 for ; Fri, 1 Oct 2010 12:42:37 +0200 (MEST) Original-Received: from msg.awi.de (msg.AWI.DE [134.1.3.16]) by mails3.awi.de (Postfix) with ESMTP id AB347B3BE1 for ; Fri, 1 Oct 2010 12:42:37 +0200 (MEST) Original-Received: from vpn-awinet-16-18.awi.de ([unknown] [172.28.16.18]) by msg.awi.de (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTPSA id <0L9L000RFXR1UR90@msg.awi.de> for ntg-context@ntg.nl; Fri, 01 Oct 2010 12:42:37 +0200 (MEST) In-reply-to: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=134.1.2.14; country=DE; region=03; city=Bremerhaven; latitude=53.5500; longitude=8.5833; http://maps.google.com/maps?q=53.5500,8.5833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDdmGJ8i - 9e411dd02fd4 - 20101001 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:62222 Archived-At: On Sep 30, 2010, at 21:01 , Patrick Gundlach wrote: > Hi, > > several days ago I asked about companions to Cambria, and Wolfgang kindly gave me this: > > \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] > > > which works fine, except for consolas. Shouldn't consolas be defined like > > \starttypescript [mono] [consolas] [name] > \setups[\s!font:\s!fallback:\s!sans] > \definefontsynonym [\s!Mono] [\s!file:consola] [\s!features=\s!default] > \definefontsynonym [\s!MonoBold] [\s!file:consolab] [\s!features=\s!default] > \definefontsynonym [\s!MonoItalic] [\s!file:consolai] [\s!features=\s!default] > \definefontsynonym [\s!MonoBoldItalic] [\s!file:consolaz] [\s!features=\s!default] > \stoptypescript > > instead of > > Sans.... ? It's much more a monospace font then a Sans. > > Thanks > > Patrick It seems, the ClearType fonts come with different filenames, so I had to define them by name like Cambria is in type-otf (\definefontsynonym [CambriaSerif] [name:cambria]): \starttypescript [sans] [corbel] [name] \setups[font:fallback:sans] \definefontsynonym [Sans] [name:corbel] [features=default] \definefontsynonym [SansBold] [name:corbelbold] [features=default] \definefontsynonym [SansItalic] [name:corbelitalic] [features=default] \definefontsynonym [SansBoldItalic] [name:corbelbolditalic] [features=default] \stoptypescript \starttypescript [mono] [consolas] [name] \setups[font:fallback:mono] \definefontsynonym [Mono] [name:consolas] [features=default] \definefontsynonym [MonoBold] [name:consolasbold] [features=default] \definefontsynonym [MonoItalic] [name:consolasitalic] [features=default] \definefontsynonym [MonoBoldItalic] [name:consolasbolditalic] [features=default] \stoptypescript Best Florian ___________________________________________________________________________________ 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 ___________________________________________________________________________________