From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61747 Path: news.gmane.org!not-for-mail From: Florian Wobbe Newsgroups: gmane.comp.tex.context Subject: Strange optical scaling Date: Sat, 18 Sep 2010 16:21:53 +0200 Message-ID: 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 1284819748 5381 80.91.229.12 (18 Sep 2010 14:22:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 14:22:28 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 18 16:22:25 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 1OwyJ1-0005g0-Nb for gctc-ntg-context-518@m.gmane.org; Sat, 18 Sep 2010 16:22:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CF7C8CA69F; Sat, 18 Sep 2010 16:22:18 +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 q8GgUGX1XQtG; Sat, 18 Sep 2010 16:22:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 03FF3CA697; Sat, 18 Sep 2010 16:22:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 695C5CA697 for ; Sat, 18 Sep 2010 16:22:14 +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 sR6yLJsOmGm4 for ; Sat, 18 Sep 2010 16:22:11 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id BA4A8CA693 for ; Sat, 18 Sep 2010 16:22:11 +0200 (CEST) Original-Received: from mails3.awi.de (mails3.AWI.DE [134.1.2.14]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8IEM4Hi025683 for ; Sat, 18 Sep 2010 16:22:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by mails3.awi.de (Postfix) with ESMTP id 0CC18AB629 for ; Sat, 18 Sep 2010 16:22:04 +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 2eBvw1HKNX0n for ; Sat, 18 Sep 2010 16:21:55 +0200 (MEST) Original-Received: from msg.awi.de (msg.AWI.DE [134.1.3.16]) by mails3.awi.de (Postfix) with ESMTP id 2DC21AB61F for ; Sat, 18 Sep 2010 16:21:55 +0200 (MEST) Original-Received: from [192.168.22.12] ([unknown] [217.187.206.163]) by msg.awi.de (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTPSA id <0L8Y00BEZ58IX440@msg.awi.de> for ntg-context@ntg.nl; Sat, 18 Sep 2010 16:21:55 +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: 07D8em4T9 - d4c4dfc9ab83 - 20100918 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:61747 Archived-At: Dear all, I was about to adapt the type-optical module to include Semibold and Condensed when I noticed that optical scaling is not working as expected. To be more precise only downscaling works. Let me give you a short example of what I did: \usemodule[type-optical] \usetypescript[minion] \setupbodyfont[minion,12pt] \starttext \title{Title} \section{Section} Text \tfxx tfxx \tfx tfx \tfa tfa \tfb tfb \tfc tfc \tfd tfd \stoptext This document is composed of various font sizes: \tfxx to \tfd scale to 7.2, 9.6, 14.4, 17.28, 20.736, and 24.888pt. According to the definitions in type-optical \tfxx should be set in MinionPro-Capt, \tfx and \tf in MinionPro-Regular, \tfa and \tfb in Subhead and the rest is Display size. Looking at the resulting PDF file with pdffonts indicates that MinionPro-Regular and MinionPro-Capt are the only fonts used. Not so Subhead or Display sizes. Changing the bodyfont to [minion,14pt] results in MinionPro-Subh and MinionPro-Regular to be included. I was curious and tried the same thing with Latin Modern: \setupbodyfont[8pt] \starttext \title{Title} \section{Section} Text \tfa tfa \tfb tfa \tfc tfa \tfd tfa \stoptext Same problem: Only LMRoman8-Regular is used. By including the lines \tfxx tfxx \tfx tfx LMRoman5-Regular and LMRoman6-Regular are included in the PDF. Again not the larger sizes. I'm quite puzzled about this strange behaviour and would apreciate any help. Best Florian PS.: I'm running Tex Live 2010 (MacTex) with a recent update from rsync://contextgarden.net/minimals/current/. ___________________________________________________________________________________ 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 ___________________________________________________________________________________