From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81842 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: Mismatched font size when switching fonts in the chapter title Date: Wed, 17 Apr 2013 10:11:19 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1366186313 23239 80.91.229.3 (17 Apr 2013 08:11:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Apr 2013 08:11:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 17 10:11:57 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1USNTA-0005dz-Dh for gctc-ntg-context-518@m.gmane.org; Wed, 17 Apr 2013 10:11:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9FE03101E9; Wed, 17 Apr 2013 10:11:55 +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 9FI3KbMQidHV; Wed, 17 Apr 2013 10:11:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 07993101E6; Wed, 17 Apr 2013 10:11:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE31D101E6 for ; Wed, 17 Apr 2013 10:11:51 +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 Y2R24RbF3eTL for ; Wed, 17 Apr 2013 10:11:50 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id C7DB9101E4 for ; Wed, 17 Apr 2013 10:11:50 +0200 (CEST) Original-Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3H8Bnpp002315 for ; Wed, 17 Apr 2013 10:11:50 +0200 Original-Received: by mail-ee0-f51.google.com with SMTP id c4so590579eek.10 for ; Wed, 17 Apr 2013 01:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=AYt3mbJpCD10N/jbcmb9U4KNiytwqrffut+nzRuRVt8=; b=F3ixLA+uU4O4je7wTcccXIDYdOqk6quP+uHJIl82SiJigrMLcnqXm6lciJM/6CBvmx Se9i+0IanS+JFoRMKh6B4mgYeb2TAIRmqHTBOpGpp3he2EpM6+hvIEp8O83GT9ksrWyO DYZRPhApK3PmhqzWvE0+iC2RjTKuJlDS1xEYHF5SFhf1ydBBdTaGY/tWnX2EOL5w5eBA 3x80P7uQSFgurk96cszaDxydDAVs6b87TazdOwhYXNwyB5yZhHoO+dQQWTWVF2Kf+/7j LvTWkwIitHgtAXW5OcYET3bujqnf9fwBgVQ7Q7085EGqVewjudQb5wRmo+cEsx3IeC71 erew== X-Received: by 10.14.5.137 with SMTP id 9mr15585122eel.30.1366186309810; Wed, 17 Apr 2013 01:11:49 -0700 (PDT) Original-Received: by 10.15.110.3 with HTTP; Wed, 17 Apr 2013 01:11:19 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.51; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJoUbOlD - a1a1d7a1838f - 20130417 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:81842 Archived-At: Hi Tim, [PalatinoRoman sa 1] This means "PalatinoRoman scaled at 1 x bodyfontsize. The document's body font size is 12 pt, but chapter headers usually are ... like, about 2.4 * body font size? Hence the size mismatch. [PalatinoRoman sa *] This means "AnotherFont is PalatinoRoman scaled to 1 x the font size at time of calling. Compare these two MWE's (I've changed the font name to texgyrepagellaregular so that the example will work for any ConTeXt user.) \setupbodyfont[12pt] \definefontsynonym[PalatinoRoman][texgyrepagellaregular][features=default] \definefont[AnotherFontSaOne][PalatinoRoman sa 1] \definefont[AnotherFontSaStar][PalatinoRoman sa *] \starttext \chapter{Fonts and \AnotherFontSaOne Fonts} Generalized \AnotherFontSaOne Generals. (Constant size) \chapter{Fonts and \AnotherFontSaStar Fonts} Generalized \AnotherFontSaStar Generals. (Adapt to current size) \stoptext I got this information from page 5 of the Fonts chapter of the long-coming manual. (Not the same as the document detailing what you can do with OTF and Lua, although I think that one, too, is called a fonts manual.) http://context.aanhet.net/svn/contextman/context-reference/en/co-fonts.pdf Cheers, Sietse ___________________________________________________________________________________ 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 ___________________________________________________________________________________