From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86525 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Selectfont: extend and slant features Date: Sun, 02 Mar 2014 00:59:37 +0100 Message-ID: <53127469.7050903@wxs.nl> References: <20140226181814.595a911d@Klapprechner1.site> <957AB448-6FC9-46BF-BBB7-8EBB1DDBA6C7@gmail.com> <20140228204104.1d61a168@Klapprechner1.site> <1138F28F-83EE-48B8-ADD2-9403608A157E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1393718388 17553 80.91.229.3 (1 Mar 2014 23:59:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2014 23:59:48 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 02 00:59:56 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WJtow-00077m-Qt for gctc-ntg-context-518@m.gmane.org; Sun, 02 Mar 2014 00:59:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9DAE101E9; Sun, 2 Mar 2014 00:59:53 +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 Qpt65WWB-TyU; Sun, 2 Mar 2014 00:59:51 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 652CB101E6; Sun, 2 Mar 2014 00:59:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0DD32101E6 for ; Sun, 2 Mar 2014 00:59: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 jIRj7BdCbRN0 for ; Sun, 2 Mar 2014 00:59:46 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id B2233101E1 for ; Sun, 2 Mar 2014 00:59:41 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s21Nxe3P015439 for ; Sun, 2 Mar 2014 00:59:40 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 5042-1713362 for ; Sun, 02 Mar 2014 00:59:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <1138F28F-83EE-48B8-ADD2-9403608A157E@gmail.com> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QLwnXEXr - a359bbae2b32 - 20140302 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86525 Archived-At: On 3/1/2014 12:48 PM, Wolfgang Schuster wrote: > > Am 28.02.2014 um 20:41 schrieb Joshua Kr=E4mer : > >> On 2014-02-26, 23:13, Wolfgang Schuster wrote: >> >>> 2. When you apply your =93testfeature=94 to a certain font alternative >>> (e.g. italic) it will work. >>> [...] >> >> Thanks. It's a bit inconvenient, because for each feature you want to >> apply, you have to define a separate typeface. Is it a bug, or is it >> intended to be like that? > > This is something only Hans can answer, what I wanted to show you is > that the problem isn=92t related to the \definefontfamily command. you can use dynamic features so apply additional ones any moment, but = some features line slanting and extending are font instance bound as = there the dimensions change and the abckend has to do some work >> (I understand that this feature may not be needed often. I need it to >> apply different stretch values to a typeface I'm designing for testing >> purposes.) > > > Is there any real purpose for this feature? The letters in the second and= third > line don=92t look beautiful because the horizontal and vertical strokes d= on=92t match. > > \definefontfeature [wide] [extend=3D1.50] > \definefontfeature [narrow] [extend=3D0.75] > > \definefontfamily [one] [serif] [Latin Modern Roman] > \definefontfamily [two] [serif] [Latin Modern Roman] [features=3D{defau= lt,wide}] > \definefontfamily [three] [serif] [Latin Modern Roman] [features=3D{defau= lt,narrow}] > > \definebodyfontenvironment[50pt] > > \starttext > > \switchtobodyfont[one,50pt]Stretched > > \switchtobodyfont[two,50pt]Stretched > > \switchtobodyfont[three,50pt]Stretched > > \stoptext > > Wolfgang > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > -- = ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________