From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97599 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: bug in \definefontfamily? Date: Sun, 19 Mar 2017 22:22:27 +0100 Message-ID: <58CEF693.5040909@gmail.com> References: <58ce6920.42ba1c0a.ea8e8.7871@mx.google.com> <111a26b4-e666-02db-982f-b985650d8fab@gmx.es> <58CEDE4E.7080509@gmail.com> <91357f59-6cf1-a9d3-4500-e14d7048770d@gmx.es> <58CEEAD7.7030000@gmail.com> <58CEF10B.7000804@gmail.com> <6bb00b67-4c9d-0a85-1779-29f287de3255@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8602836476969208810==" X-Trace: blaine.gmane.org 1489958581 5617 195.159.176.226 (19 Mar 2017 21:23:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2017 21:23:01 +0000 (UTC) User-Agent: Postbox 5.0.11 (Macintosh/20170302) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 19 22:22:52 2017 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpiHq-0000N5-UI for gctc-ntg-context-518@m.gmane.org; Sun, 19 Mar 2017 22:22:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D64EF84205; Sun, 19 Mar 2017 22:22:43 +0100 (CET) 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 i1m1KwwzGhum; Sun, 19 Mar 2017 22:22:42 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id C8883841DD; Sun, 19 Mar 2017 22:22:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3ED97841DD for ; Sun, 19 Mar 2017 22:22:41 +0100 (CET) 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 7A1JYc6PDJtw for ; Sun, 19 Mar 2017 22:22:40 +0100 (CET) Original-Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (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 212CC841DA for ; Sun, 19 Mar 2017 22:22:30 +0100 (CET) Original-Received: by mail-wm0-f51.google.com with SMTP id t189so51113308wmt.1 for ; Sun, 19 Mar 2017 14:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=5qwBpLB4dbCB0HfDc0hjmpAZjzm46tFeGruEKJV0iIs=; b=H4PBoT8Vwyp2dE5jgIQnzIjRDW211alzYTsenIY+O8qzeonCGUV4gsgTxyc0iuIzdC ozVwmlPmACYpSRBhpmB8kdxuluaVAwad5Vh2YcaaMUdAQgwmiLgGcm4iHqMK4BLCmwMR xlXMI08qyRkdqX5gsn83WMqV1AhYCX4t93UiMK+7FNjTr4LDsuuU1RT9WqkL1GfeDO9u saD52kIrK4vpfP6p+N43Km7rncb4VZuuZfgPVl0RmKbw65k+l7Qw9V68zFZKEwoyBr5B uTWekZjowtdy5rWceDD01pWsNVYk2fZPBxyAyYsaTibXlE+iiSr0FwsmyNgHiZtOxPpg mDpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=5qwBpLB4dbCB0HfDc0hjmpAZjzm46tFeGruEKJV0iIs=; b=TcnI2ba3ivgJudIXkBdvL/FLKEk5M1rYxh4miPeG4rEW+bTpZ7Cazq1t56/xv20squ BngSV0jUCbgAfXr32kGZdUT9JjYb4axEaslndaa4UQEroOByEzsqHWbgMAwi/0MsfOPP QYQ0TdghTapUxQUdhWcOaTxj7d1z6phzQ9VBhijw05bi8Oj8yJ8EocHm3zgzmSJwIxXB BUsooVveQvtEkjVg8yT5fEFO8iGJHa1+MpiMcECZ7KBzzD8GXXZsHGvqMnKgpwOLe5Gu IFVE6wnLCmjQr0WguiLYF89vu3alMFVtCleUqKY/nNToky3svowuBio4LM68Nludii/l KkkQ== X-Gm-Message-State: AFeK/H38xXrYovcYrZESsvljrjffsXSGBY/wIaker/YpwWohCprV6fat3rQG1y0L2mDj7A== X-Received: by 10.28.173.2 with SMTP id w2mr7222325wme.117.1489958549603; Sun, 19 Mar 2017 14:22:29 -0700 (PDT) Original-Received: from keima.localdomain (x2f26b8b.dyn.telefonica.de. [2.242.107.139]) by smtp.gmail.com with ESMTPSA id v186sm10993243wmv.2.2017.03.19.14.22.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Mar 2017 14:22:28 -0700 (PDT) In-Reply-To: <6bb00b67-4c9d-0a85-1779-29f287de3255@gmx.es> 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:97599 Archived-At: This is a multi-part message in MIME format. --===============8602836476969208810== Content-Type: multipart/alternative; boundary="------------040306050803080606070806" This is a multi-part message in MIME format. --------------040306050803080606070806 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Pablo Rodriguez > 19. März 2017 um 22:08via Postbox > > > Yes, this might work, but I’m afraid I need to disable other default > features such as ligatures (not only liga, but TeX ligatures). > > I had this problem typesetting XML sources and I didn’t know how to > disable the other features. The default setting is “feature=default” and to get expansion/protrusion additional to kerning etc. you have two options: 1. Add them to the default feature with \definefontfeature[default][default][expansion=quality,protrusion=quality] 2. Set multiple feature with \definefontfamily[...][...][...][features={default,quality}] You can use the second method when you want only expansion/protrusion. When you set only “features=quality” kerning isn’t enabled because the default features aren’t applied to your font. Wolfgang --------------040306050803080606070806 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
19. März 2017 um 22:08 via Postbox

Yes, this might work, but I’m afraid I need to disable other default
features such as ligatures (not only liga, but TeX ligatures).

I had this problem typesetting XML sources and I didn’t know how to
disable the other features.
The default setting is “feature=default” and to get expansion/protrusion additional
to kerning etc. you have two options:

1. Add them to the default feature with \definefontfeature[default][default][expansion=quality,protrusion=quality]

2. Set multiple feature with \definefontfamily[...][...][...][features={default,quality}]

You can use the second method when you want only expansion/protrusion. When you
set only “features=quality” kerning isn’t enabled because the default features aren’t
applied to your font.

Wolfgang
--------------040306050803080606070806-- --===============8602836476969208810== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8602836476969208810==--