From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95084 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: two questions about \definefontfamily Date: Sun, 05 Jun 2016 21:52:00 +0200 Message-ID: <575482E0.9080505@gmail.com> References: <57532EFC.5060705@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1960311610654204645==" X-Trace: ger.gmane.org 1465156368 11908 80.91.229.3 (5 Jun 2016 19:52:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jun 2016 19:52:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 05 21:52:37 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 1b9e68-00060d-QU for gctc-ntg-context-518@m.gmane.org; Sun, 05 Jun 2016 21:52:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 19927E94A; Sun, 5 Jun 2016 21:52:18 +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 aK3FHocPuvUo; Sun, 5 Jun 2016 21:52:16 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 62741E9B5; Sun, 5 Jun 2016 21:52:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 78884E8CF for ; Sun, 5 Jun 2016 21:52:15 +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 KsBfqmOeEdR6 for ; Sun, 5 Jun 2016 21:52:13 +0200 (CEST) Original-Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (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 8DDCDE8C7 for ; Sun, 5 Jun 2016 21:52:03 +0200 (CEST) Original-Received: by mail-wm0-f41.google.com with SMTP id s131so18332202wme.0 for ; Sun, 05 Jun 2016 12:52:03 -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:subject:references :in-reply-to; bh=ebLogHr2uBW2DnLUYcG3Rd0zVeQIq8RFD9ExZVLhyA0=; b=RCeyb/N/tVPR7nyC2mbXkFEXFK7xbeE5B9Gzh33jvf+MMPYLMa8MP06jVQqv2V3wGK vC1/1gyDJ8jTdo0dpKXKUjHoBI/7Yg+u28pdPjvrCDCUuCqCmYPCcuvfF2SJRzUVgnDF OGd55lBOeveWLPKJ8tvRn/5OWBFSCpcM4Xll/CoLhTIVbhuqjFRLX4GufMViOr79OfYM RWRgEYIShbShEDndSDABlv0QV6fsICCQfEH0nnbRDPFVIYWxyGVSNJ10kecNj9Z26PXD D4cg1ZMcO8JABbrW6AMjMTHyO+wS+78rKCik4ie/IM5/05VcuMWDYvRhfz3hbcp1Tlgd QyCA== 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 :subject:references:in-reply-to; bh=ebLogHr2uBW2DnLUYcG3Rd0zVeQIq8RFD9ExZVLhyA0=; b=jDXyHRgNBWH618QgsWj9gcvtupW+TV2kGFYxq4qIdk1PEaW/2sWao82VMaLAKieW3D LQy99pyPp4bqkWIkfRd10erVB3KAx7swnXZDFqBajg3fWG6XBpmc1FPgwbfJYW5za7/e G7FlRk4MyqSvQr/kATI43hvJefuJ6ZIJrbyivtpK3wGDvWsJpxkkRiHlsVdq/QzLj8SZ gzMmtCw0fFE3JcY5GsPQC8DrEyL/LkZlJK2mNa1l8VN8Jcti5FORiFHqaTirKrNOjgUS ALFqXB53EKlji2geVRlD81BH6xkZ9Gr8XwYCm/Y/rdjBWT/bWrVNjFR/Xw/qFEqpYPDk J82Q== X-Gm-Message-State: ALyK8tIpGS8HPjMbq38dy6yU6wV9wc8jYiluu8BP9mEYO2sPMU8Gq0/TQCP3MQJmXKoy4A== X-Received: by 10.194.173.132 with SMTP id bk4mr13591826wjc.92.1465156323126; Sun, 05 Jun 2016 12:52:03 -0700 (PDT) Original-Received: from keima.localdomain (x2f2e3eb.dyn.telefonica.de. [2.242.227.235]) by smtp.gmail.com with ESMTPSA id b63sm5907927wmb.0.2016.06.05.12.52.02 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 12:52:02 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <57532EFC.5060705@uni-bonn.de> 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:95084 Archived-At: This is a multi-part message in MIME format. --===============1960311610654204645== Content-Type: multipart/alternative; boundary="------------060608030309050509020906" This is a multi-part message in MIME format. --------------060608030309050509020906 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Thomas A. Schmitz > 4. Juni 2016 um 21:41 > Hi all (especially Wolfgang), > > I have two questions about the font selection mechanism. > > 1. Three weeks ago you replied to a question from Pablo Rodriguez and=20 > wrote (https://mailman.ntg.nl/pipermail/ntg-context/2016/085508.html): > > "You have to use scale instead of rscale for the \definefontfamily and > \definefallbackfamily commands for the moment but I will change it to > rscale." > > In the meantime, you have changed this keyword. I have lots of styles=20 > that use "scale." Would it be very inconvenient to leave "scale" as a=20 > legacy synonym / alternative to rscale? That would be my feature=20 > request... I added it but rscale has a higher priority and will be the only=20 documented option. > 2. The following example: > > \definefallbackfamily [Test] [serif] [GentiumAlt]=20 > [range=3D{greekandcoptic,greekextended},force=3Dyes,rscale=3D3] > > \definefontfamily [Test] [serif] [TeX Gyre Termes] > > \setupbodyfont [Test,10pt] > > \starttext > > Test =CE=9C=E1=BF=86=CE=BD=CE=B9=CE=BD =E1=BC=84=CE=B5=CE=B9=CE=B4=CE=B5 > > \stoptext > > does not produce any output. It I replace "Test" with the lowercase=20 > "test," I get the expected output. Do you have an explanation for this? It was a bug and I fixed it. Wolfgang --------------060608030309050509020906 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
4.= =20 Juni 2016 um 21:41
Hi all=20 (especially Wolfgang),

I have two questions about the font selection mechanism.

1. Three weeks ago you replied to a question from Pablo Rodriguez=20 and=20 wrote (https://mailman.ntg.nl/pipermail/= ntg-context/2016/085508.html):

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

In the meantime, you have changed this keyword. I have lots of=20 styles=20 that use "scale." Would it be very inconvenient to leave "scale" as a=20 legacy synonym / alternative to rscale? That would be my feature=20 request...
I added it but rscale has a higher priority and will be the only=20 documented option.
2. The following example:

\definefallbackfamily [Test] [serif] [GentiumAlt]=20 [range=3D{greekandcoptic,greekextended},force=3Dyes,rscale=3D3]

\definefontfamily [Test] [serif] [TeX Gyre Termes]

\setupbodyfont [Test,10pt]

\starttext

Test =CE=9C=E1=BF=86=CE=BD=CE=B9=CE=BD =E1=BC=84=CE=B5=CE=B9=CE=B4=CE= =B5

\stoptext

does not produce any output. It I replace "Test" with the lowercase=20 "test," I get the expected output. Do you have an explanation for this?
It was a bug and I fixed it.

Wolfgang
--------------060608030309050509020906-- --===============1960311610654204645== 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= --===============1960311610654204645==--