From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87225 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Proper setting of font features for protrusion/expansion Date: Sun, 4 May 2014 21:39:55 +0200 Message-ID: <90084709-8B23-4880-B806-5BC7A28348FC@gmail.com> References: <53667a5e.c6cf0e0a.6333.339eSMTPIN_ADDED_BROKEN@mx.google.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1399232429 30991 80.91.229.3 (4 May 2014 19:40:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 May 2014 19:40:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 04 21:40:23 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 1Wh2Gr-0004Gq-OW for gctc-ntg-context-518@m.gmane.org; Sun, 04 May 2014 21:40:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 549061022D for ; Sun, 4 May 2014 21:40:21 +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 TmR10e9iq8x4 for ; Sun, 4 May 2014 21:40:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6945D10233 for ; Sun, 4 May 2014 21:40:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E11E0101E2 for ; Sun, 4 May 2014 21:40: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 EKPuEI+dWlpI for ; Sun, 4 May 2014 21:40:11 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 49406101E1 for ; Sun, 4 May 2014 21:40:03 +0200 (CEST) Original-Received: from mail-ee0-x22b.google.com (mail-ee0-x22b.google.com [IPv6:2a00:1450:4013:c00::22b]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s44Je0Hl009409 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 4 May 2014 21:40:00 +0200 Original-Received: by mail-ee0-f43.google.com with SMTP id d17so59286eek.30 for ; Sun, 04 May 2014 12:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=HA7NdcgcIKfabGYp9GtAP88Gx/laH9Q2b4XiHXUrWdg=; b=z6asPjvs7bXzyyp5lcdWW1UaaaeFlcGqC35//ryswEwBBW4q29QonyfZvDC8hd22cJ FFEZIaNngpy9BywHB8/5mEUboCKjHWCZcMGE0ZLkcXTq6Lf1hQC1PyP8hsK2fKfkxfU8 oliIckLcR5v3/yz80W7k+CEypk3hwSQpVzvixjwYZhGxiwEmsT8lAeUHrRyRAOpBmr+L e36lRful0/Bre5Eb1LIKfvJ+nMOOVDvLJM0VvXYcXbQKuiCFDNVb3Cij8hRFzyx2jNiV Iop3TNqcIspfXMluh+fl+ik2rPqTOuStftHb7qE3jo3FqlGsm3H3o5YfZMvT3ErgDPwf FX8w== X-Received: by 10.15.54.6 with SMTP id s6mr26747007eew.4.1399232400054; Sun, 04 May 2014 12:40:00 -0700 (PDT) Original-Received: from keima.localdomain (x2f2bd97.dyn.telefonica.de. [2.242.189.151]) by mx.google.com with ESMTPSA id x45sm23290945eef.15.2014.05.04.12.39.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 04 May 2014 12:39:59 -0700 (PDT) In-Reply-To: <53667a5e.c6cf0e0a.6333.339eSMTPIN_ADDED_BROKEN@mx.google.com> X-Mailer: Apple Mail (2.1874) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::22b; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RLVTE0n3 - c689d54b5ea4 - 20140504 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:87225 Archived-At: Am 04.05.2014 um 19:34 schrieb Jan Tosovsky : > Dear All, > = > = > e.g. in the last example at http://wiki.contextgarden.net/Protrusion there > is the following definition: > = > \definefontfeature[default][default][expansion=3Dquality,protrusion=3Dqua= lity] > = > = > I understand it overrides default settings and adds these two features. > = > In my code I use the following shortcut found somewhere: > = > \definefontfamily[palatino][rm][Palatino Linotype][features=3D{default, > quality}] > = > = > Both features works, but I am not sure if I am getting the best quality. > = > Is there any description what that '[features=3D{default, quality}]' opti= on > 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 =93testfeature=94 which uses =93default=94 and extends it with =93protrusio= n=3Dquality=94. The second text applies the two predefined lists =93default=94 and =93quality=94 (whic= h sets =93protrusion=3Dquality=94 and =93expansion=3Dquality=94). \setupalign[hanging] \definefontfeature[testfeature][default][protrusion=3Dquality] \showframe[text][text] \starttext \startfont[Serif*testfeature] \input knuth \stopfont \startfont[Serif*default,quality] \input knuth \stopfont \stoptext Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________