From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62071 Path: news.gmane.org!not-for-mail From: Florian Wobbe Newsgroups: gmane.comp.tex.context Subject: font sizes (again) Date: Wed, 29 Sep 2010 14:30:33 +0200 Message-ID: <24780A58-38B8-489B-971A-3E3FD61BA5BD@awi.de> 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 1285763481 19658 80.91.229.12 (29 Sep 2010 12:31:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 12:31:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 29 14:31:19 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 1P0voa-00039v-VZ for gctc-ntg-context-518@m.gmane.org; Wed, 29 Sep 2010 14:31:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62BEACA6E4; Wed, 29 Sep 2010 14:31:16 +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 HvgeSJhX9I28; Wed, 29 Sep 2010 14:31:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 257F4CA678; Wed, 29 Sep 2010 14:31:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 13E53CA678 for ; Wed, 29 Sep 2010 14:31: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 v36O5pkbkmBI for ; Wed, 29 Sep 2010 14:30:48 +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 A10FFCA675 for ; Wed, 29 Sep 2010 14:30:48 +0200 (CEST) Original-Received: from mails3.awi.de (mails3.AWI.DE [134.1.2.14]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8TCUf1O002434 for ; Wed, 29 Sep 2010 14:30:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by mails3.awi.de (Postfix) with ESMTP id 7102CAD692 for ; Wed, 29 Sep 2010 14:30:41 +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 XRX0f12mkNvc for ; Wed, 29 Sep 2010 14:30:34 +0200 (MEST) Original-Received: from msg.awi.de (msg.AWI.DE [134.1.3.16]) by mails3.awi.de (Postfix) with ESMTP id 0AFADAD65E for ; Wed, 29 Sep 2010 14:30:34 +0200 (MEST) Original-Received: from [192.168.22.12] ([unknown] [217.187.204.37]) by msg.awi.de (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTPSA id <0L9I00HX4DEXX310@msg.awi.de> for ntg-context@ntg.nl; Wed, 29 Sep 2010 14:30:34 +0200 (MEST) 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: 0xDcAuGFC - 2483cf758e16 - 20100929 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:62071 Archived-At: Hi, please regard this minimal example: \setupbodyfont[10pt] \starttext \title{Title} \section{Section} {\switchtobodyfont[big] big} {\switchtobodyfont[small] small} {\tfxx tfxx} {\tfx tfx} {\tfa tfa} {\tfb tfb} {\tfc tfc} {\tfd tfd} \stoptext Latin Modern Regular is available in different optical sizes - lmroman{5,6,7,8,9,10,12,17}-regular.otf - and as context is aware of these sizes (configured in typescripts) I wonder why they are not correctly assigned. This table indicates what happens instead: \tfxx 6pt -> lmroman6 (as expected) \tfx 8pt -> lmroman8 (as expected) \tftf 10pt -> lmroman10 (as expected) \tfa 12.0pt -> lmroman10 (instead of lmroman12) \tfb 14.4pt -> lmroman10 (instead of lmroman12) \tfc 17.3pt -> lmroman10 (instead of lmroman17) \tfd 20.7pt -> lmroman10 (instead of lmroman17) \switchtobodyfont[small] 8pt -> lmroman8 (as expected) \switchtobodyfont[big] 12pt -> lmroman12 (as expected) \title 17.3pt -> lmroman10 (instead of lmroman17) \section 12pt -> lmroman10 (instead of lmroman12) The commands \title and \section and the font size switches \tfa, b, c, and d scale the font to the correct size, however, the wrong optical size is assigned. Note, this is not the case for \tfx, xx and \switchtobodyfont. Tested in MKIV and MKII (current beta). Is this a bug or a feature? Cheers 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 ___________________________________________________________________________________