From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72353 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Simplefonts: Font scaling problem Date: Sat, 12 Nov 2011 15:44:32 +0100 Message-ID: References: <004e01cca095$68d56ad0$3a804070$@gmx.de> <005e01cca096$374fd8a0$a5ef89e0$@gmx.de> <4EBE4410.5000903@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1321109101 32038 80.91.229.12 (12 Nov 2011 14:45:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2011 14:45:01 +0000 (UTC) Cc: "Thomas A. Schmitz" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 12 15:44:56 2011 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 1RPEpC-0008R3-1r for gctc-ntg-context-518@m.gmane.org; Sat, 12 Nov 2011 15:44:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EFA36CB0C9; Sat, 12 Nov 2011 15:44:52 +0100 (CET) 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 gb1yEULlV3Ck; Sat, 12 Nov 2011 15:44:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 47DDFCB0D4; Sat, 12 Nov 2011 15:44:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 23FF4CB0D4 for ; Sat, 12 Nov 2011 15:44:49 +0100 (CET) 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 OZu-qxhcqzJw for ; Sat, 12 Nov 2011 15:44:38 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 01CE1CB0C9 for ; Sat, 12 Nov 2011 15:44:37 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pACEibi5022419 for ; Sat, 12 Nov 2011 15:44:37 +0100 Original-Received: by bke17 with SMTP id 17so4386031bke.14 for ; Sat, 12 Nov 2011 06:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=iKp67Kp4n1tzszbf35TN/oFGNcAB367kgyUf0/F4sLI=; b=imbsS148rLxvUjWDA6QTXUEdcldOqFRR51gRcPam7+O8CABFAQPJTq0I+fvdQPZT3e UT8sDA7gu4KtQIoJT25+f73eYcWje7tUxvUHndNrUpV9/ALi547fQZfljbUQgEEZqbTm rMIinroZrd2U2McBio0wMK07OyiBZtyrM7u8w= Original-Received: by 10.205.119.11 with SMTP id fs11mr12428927bkc.58.1321109076754; Sat, 12 Nov 2011 06:44:36 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFDAE2.dip.t-dialin.net. [87.175.218.226]) by mx.google.com with ESMTPS id z15sm18483670bkv.4.2011.11.12.06.44.33 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 12 Nov 2011 06:44:35 -0800 (PST) In-Reply-To: <4EBE4410.5000903@uni-bonn.de> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 08FUeIBCL - a86287dca9b3 - 20111112 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:72353 Archived-At: Am 12.11.2011 um 11:01 schrieb Thomas A. Schmitz: > On 11/11/2011 06:20 PM, Christian wrote: >> Good evening! >>> I want to scale a font loaded via the simplefonts so sans and serif hav= e the >>> same x-height. >>> But as soon as I use a font size larger than 12pt, the scaling is someh= ow off or >>> ignored. >>> Example: >>> = >>> \usemodule[simplefonts] >>> \setupsimplefonts[expansion=3Dquality, protrusion=3Dquality] >>> \setmainfont[Times New Roman] >>> \setsansfont[Arial][scale=3D0.863] >>> \starttext >>> \setupbodyfont[6pt] >>> 06pt serif xx{\ss xx sans}\\ %fine >>> \setupbodyfont[12pt] >>> 12pt serif xx{\ss xx sans}\\ %fine, too >>> \setupbodyfont[14pt] >>> 14pt serif xx{\ss xx sans}\\ %here it starts to be off >>> \setupbodyfont[16pt] >>> 16pt serif xx{\ss xx sans}\\ >>> \stoptext > = > Your example is a bit difficult to test here because it's windows-centric= , I don't have Arial on my system. But by looking at it, you should have so= mething like this in your file before setting the fonts: > = > \starttypescript [sans] [default] [size] > \definebodyfont [16pt] [ss] [default] > \stoptypescript > \definebodyfontenvironment[16pt] > = > and so on for other arbitrary sizes. ConTeXt doesn't define complete envi= ronments for every imaginable size (but I imagine Wolfgang may come up with= a clever solution within his module). A clever solution would take a while because in this case i want to change = the whole code in rewrite it with all the new mkiv goodies and the spec int= erface. A fast solution is also possible but it won=92t be more than a fix. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________