From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/31833 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context Subject: Re: relative scaling for fonts Date: Tue, 14 Nov 2006 00:38:48 +0100 Message-ID: <45590208.5010302@web.de> References: <45578F68.9060201@web.de> <45849041-0F35-49EB-BD31-4F00AE0D8520@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1163461165 13796 80.91.229.2 (13 Nov 2006 23:39:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2006 23:39:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 14 00:39:15 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1GjlON-0006BO-Ug for gctc-ntg-context-518@m.gmane.org; Tue, 14 Nov 2006 00:39:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85FF41FD30; Tue, 14 Nov 2006 00:39:01 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03295-01; Tue, 14 Nov 2006 00:38:52 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B64B1FC78; Tue, 14 Nov 2006 00:38:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F02201FC7B for ; Tue, 14 Nov 2006 00:38:49 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03174-03 for ; Tue, 14 Nov 2006 00:38:42 +0100 (CET) Original-Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by ronja.ntg.nl (Postfix) with SMTP id ECE4D1FC77 for ; Tue, 14 Nov 2006 00:38:40 +0100 (CET) Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id C49603709565 for ; Tue, 14 Nov 2006 00:38:44 +0100 (CET) Original-Received: from [87.235.126.186] (helo=[192.168.0.192]) by smtp08.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.107 #114) id 1GjlO0-0004yo-00 for ntg-context@ntg.nl; Tue, 14 Nov 2006 00:38:44 +0100 User-Agent: Thunderbird 1.5.0.2 (X11/20060423) Original-To: mailing list for ConTeXt users In-Reply-To: <45849041-0F35-49EB-BD31-4F00AE0D8520@fiee.net> X-Sender: oinos@web.de X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:31833 Archived-At: Henning Hraban Ramm wrote: > Am 2006-11-12 um 22:17 schrieb Pablo Rodr=EDguez: > = >> I'm using XeTeX one of the features that I miss at most from XeLaTeX >> (from fontspec), is the possibility to set automatically the = >> scaling of >> fonts so that they match the lowercase or uppercase letters of the = >> roman >> font. I wonder whether there is something similar for ConTeXt. > = > I never tried XeTeX, but the relative scaling of fonts is setup in = > typescripts, e.g. Sorry, I'm a ConTeXt newbie and I'm not sure whether I have expressed myself in an accurate manner or I don't understand what you mean. In XeTeX you can set your fonts in these way: \definetypeface[myfont][rm][Xserif][Junicode] \definetypeface[myfont][tt][Xmono][Epigrafica][][rscale=3D1] \setupbodyfont[myfont,13pt] But the problem there is that one should know which is the value of rscale is. If \lowercase and \uppercase variables were defined, it would be possible that ConTeXt calculates by itself which is the required scaling factor to match the roman font (lowercase or uppercase, respectively). This is explained (for LaTeX I'm afraid) at page 45 (section 8.7.3) of the fontspec documentation (http://www.ctan.org/tex-archive/macros/xetex/latex/fontspec/fontspec.pdf). In this way, it would be possible to autoscale to the rm font all fonts used in a document. I hope it is clear now, Pablo