From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94783 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: what does rscale=auto achieve? Date: Sun, 15 May 2016 19:39:24 +0200 Message-ID: <5738B44C.5030409@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7331645209927146130==" X-Trace: ger.gmane.org 1463334002 26154 80.91.229.3 (15 May 2016 17:40:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 May 2016 17:40:02 +0000 (UTC) Cc: Pablo Rodriguez To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 15 19:39:50 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b2015-0007ch-Fj for gctc-ntg-context-518@m.gmane.org; Sun, 15 May 2016 19:39:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 213F5CAA5; Sun, 15 May 2016 19:39:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U_AVKWlDFPnQ; Sun, 15 May 2016 19:39:38 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 6CE73CAC0; Sun, 15 May 2016 19:39:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 60558CAA5 for ; Sun, 15 May 2016 19:39:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CcfnaOgv6eDd for ; Sun, 15 May 2016 19:39:36 +0200 (CEST) Original-Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 196A5CAA1 for ; Sun, 15 May 2016 19:39:25 +0200 (CEST) Original-Received: by mail-wm0-f46.google.com with SMTP id g17so103545776wme.1 for ; Sun, 15 May 2016 10:39:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to; bh=o1CEgneAB+Ad8ESgHBhe2KimMQ1g12ikhIWiJKwR13k=; b=cBQ5hDkGEnlDN7zYshcAWD6C9C0L5/FqH0K+iEDj9Gt/ktm40jObCj6N8WXri41tkM n54ekTCFok/OCqlId+gohp2bjXiFDq+spB0ejfEbx1myd61XlpYqZaJkRbhxJFtau8eb 7otU2+SjNlMWbr5o44VJnQSXOq8Z7tVDj6joYXcsqzBtk9A9nkyLGwSCH2aE26HtHSfF zjLDT5w4M1l5Y7M9sv29KhMrK8OfpZFR2mjk2ybFVcP1lRqVhQQFDRFZBD4HbENd7bGX KfL7Umw74ARbbE9PM4eoIDp4uHBP16fXwxlRfEL6/d+foWTNHI7rCTrYX8Ks5QaV5aOI b08Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to; bh=o1CEgneAB+Ad8ESgHBhe2KimMQ1g12ikhIWiJKwR13k=; b=i9tcu5wW3TjB6+nIqWAH3e4QbInDr7oXkdr1ELZ1PZ/1kUHDTDl5LZ0VjDG7/bEPTO Dbl8fBYFwbcUiUyE/YLGv25ll+I/baL20K7zNO/LK/nK7XeUj3ID6g0a99qL6qpjdgJF siq1SluEaebrwF2VguiWQj5sYXNpQs55eL5yfGg4IAnKpvC8bsoAYZvKrCekaXECUjrf NosjRpcFEB5doeBvxO/khc1I/ihuIkzjBxrTuwpH9RkfuXSSQrudT3mgL8kECKTr87cf 3VvXt/k0h4/FQJoh7kIeD3JWOFVvOm/q7g8t6SBmE2EtzMllyWTFO0DXYhPg1C/Bvzvi JydA== X-Gm-Message-State: AOPr4FX0RWNA+lUIZlvNUbGS+mgxEfyzC3U9pVnyFeh4aLXwWfDkmkAOSGxcfZvGMLYIsA== X-Received: by 10.194.172.228 with SMTP id bf4mr25543897wjc.123.1463333965697; Sun, 15 May 2016 10:39:25 -0700 (PDT) Original-Received: from keima.localdomain (x2f25ae0.dyn.telefonica.de. [2.242.90.224]) by smtp.gmail.com with ESMTPSA id d79sm14155862wmi.23.2016.05.15.10.39.24 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 15 May 2016 10:39:25 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:94783 Archived-At: This is a multi-part message in MIME format. --===============7331645209927146130== Content-Type: multipart/alternative; boundary="------------020604020805070707050303" This is a multi-part message in MIME format. --------------020604020805070707050303 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Pablo Rodriguez > 15. Mai 2016 um 16:58 > Dear list, > > I have the following sample: > > \definefallbackfamily > [mainface] > [rm] > [DejaVu Serif] > [preset=3Drange:cyrillic, rscale=3Dauto] > > \definefallbackfamily > [mainface] > [rm] > [GFS Didot] > [preset=3Drange:greek, rscale=3Dauto] > > \definefontfamily > [mainface] > [rm] > [TeX Gyre Termes] > > \setupbodyfont[mainface] > > \starttext > \startTEXpage[offset=3D1em] > =D0=B0a=CE=B1 > \stopTEXpage > \stoptext > > I thought that "rscale=3Dauto" would scale the typeface so that its > x-height would match the x-height from the main typeface. > > Since I don=E2=80=99t see any scaling, could anyone explain me what I=E2= =80=99m missing? 1. Only \definetypeface supports rscale=3Dauto, the \definefontfallback=20 accepts only number values for the rscale key. 2. You have to use scale instead of rscale for the \definefontfamily and=20 \definefallbackfamily commands for the moment but I will change it to=20 rscale. Wolfgang --------------020604020805070707050303 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
15= .=20 Mai 2016 um 16:58
Dear list,

I hav= e=20 the following sample:

\definefallbackfamily
=20 [mainface]
[rm]
[DejaVu Serif]
=20 [preset=3Drange:cyrillic, rscale=3Dauto]

\definefallbackfamily=
[mainface]
[rm]
[GFS Didot]
=20 [preset=3Drange:greek, rscale=3Dauto]

\definefontfamily
= =20 [mainface]
[rm]
[TeX Gyre Termes]

=20 \setupbodyfont[mainface]

\starttext
=20 \startTEXpage[offset=3D1em]
=D0=B0a=CE=B1
\stopTEXpage
= =20 \stoptext

I thought that "rscale=3Dauto" would scale the typeface=20 so that its
x-height would match the x-height from the main typeface.<= br>
Since I don=E2=80=99t see any scaling, could anyone explain me what I=E2=80=99= m missing?
1. Only \definetypeface supports rscale=3Dauto, the \definefontfallback=20 accepts only number values for the rscale key.

2. You have to use scale instead of rscale for the \definefontfamily and \definefallbackfamily commands for the moment but I will change it to=20 rscale.

Wolfgang
--------------020604020805070707050303-- --===============7331645209927146130== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============7331645209927146130==--