From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87227 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: Proper setting of font features for protrusion/expansion Date: Sun, 4 May 2014 22:41:56 +0200 Message-ID: <22311.9211885662$1399236140@news.gmane.org> References: <53667a5e.c6cf0e0a.6333.339eSMTPIN_ADDED_BROKEN@mx.google.com> <90084709-8B23-4880-B806-5BC7A28348FC@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1399236140 11120 80.91.229.3 (4 May 2014 20:42:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 May 2014 20:42:20 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Sun May 04 22:42:14 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 1Wh3Ej-0008RC-DD for gctc-ntg-context-518@m.gmane.org; Sun, 04 May 2014 22:42:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE4C910236 for ; Sun, 4 May 2014 22:42:12 +0200 (CEST) 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 zkraf-pvAgeF for ; Sun, 4 May 2014 22:42:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A8FA610207 for ; Sun, 4 May 2014 22:42:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C49CB101E2 for ; Sun, 4 May 2014 22:42:05 +0200 (CEST) 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 Z2mGqxmpN-47 for ; Sun, 4 May 2014 22:42:04 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 5A777101E1 for ; Sun, 4 May 2014 22:42:04 +0200 (CEST) Original-Received: from fep12.mx.upcmail.net (fep12.mx.upcmail.net [62.179.121.32]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s44KfsWK007731 for ; Sun, 4 May 2014 22:42:03 +0200 Original-Received: from edge02.upcmail.net ([192.168.13.237]) by viefep12-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20140504204154.QCFU46365.viefep12-int.chello.at@edge02.upcmail.net> for ; Sun, 4 May 2014 22:41:54 +0200 Original-Received: from emk ([78.102.141.171]) by edge02.upcmail.net with edge id xwhu1n0023i4rri02whusg; Sun, 04 May 2014 22:41:54 +0200 X-SourceIP: 78.102.141.171 In-Reply-To: <90084709-8B23-4880-B806-5BC7A28348FC@gmail.com> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac9n0Mc0elbqqwUERmK860LEZKXm0QABiqYQ Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=62.179.121.32; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VLVUFSLS - 99b7dd25cc8c - 20140504 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:87227 Archived-At: On 2014-05-04 Wolfgang Schuster wrote: > Am 04.05.2014 um 19:34 schrieb Jan Tosovsky: > > > In my code I use the following shortcut found somewhere: > > > > \definefontfamily[palatino][rm][Palatino Linotype][features={default, > > quality}] > > > > Is there any description what that '[features={default, quality}]' > > option really does? > > When you apply features to a font you can set a list of features and > all of them will be applied. > > In the example below you can see both methods, the first text uses the > new featurelist "testfeature" which uses "default" and extends it with > "protrusion=quality". The second text applies the two predefined lists > "default" and "quality" (which sets "protrusion=quality" > and "expansion=quality"). > > \definefontfeature[testfeature][default][protrusion=quality] > ... > \startfont[Serif*testfeature] > ... > \startfont[Serif*default,quality] Aahh, thanks. So it is the preset name what confused me here... From my POV the 'quality' should be replaced with the more specific label. I believe it will enhance readability the code. I can imagine even 'microtypography' for this kind of preset. Jan ___________________________________________________________________________________ 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-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________