From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109791 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: How do I get rid of the ct and st ligatures in EBGaramond? Date: Wed, 2 Dec 2020 14:16:39 -0500 Message-ID: References: <4670f8a5-f5cd-20e0-4477-1b4ce54392cc@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5624196054807324653==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23244"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.5.0 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 02 20:20:57 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkXgO-0005uB-3B for gctc-ntg-context-518@m.gmane-mx.org; Wed, 02 Dec 2020 20:20:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C40D01AAAE9; Wed, 2 Dec 2020 20:16:45 +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 fogQzVjnaTo2; Wed, 2 Dec 2020 20:16:44 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1D5251AAAED; Wed, 2 Dec 2020 20:16:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 533191AAAE9 for ; Wed, 2 Dec 2020 20:16: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 FUqNnX7LnvWI for ; Wed, 2 Dec 2020 20:16:42 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=166.84.1.89; helo=mailbackend.panix.com; envelope-from=context@rik.users.panix.com; receiver= Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 93A301AA784 for ; Wed, 2 Dec 2020 20:16:42 +0100 (CET) Original-Received: from [192.168.0.13] (cpe-24-194-28-156.nycap.res.rr.com [24.194.28.156]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4CmTGx08kJz1wj6 for ; Wed, 2 Dec 2020 14:16:40 -0500 (EST) In-Reply-To: Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:109791 Archived-At: This is a multi-part message in MIME format. --===============5624196054807324653== Content-Type: multipart/alternative; boundary="------------3A9AED45A83738BDCE13C01F" Content-Language: en-US This is a multi-part message in MIME format. --------------3A9AED45A83738BDCE13C01F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 12/2/2020 13:59, T. Kurt Bond wrote: > Interesting. > > Here is a an example that sort of works, Variant 1: > > \definefontfamily[english] [rm] [ebgaramond] [features={default, > dlig=no}] > \setupbodyfont[english,10pt] > \starttext > > Variant 1: > Does this look like EBGaramond? > > fi fl ffi ffl ct st > \stoptext > > > However, it turns of *all* the ligatures. > > Here is an example that works as expected, Variant 2: > > \definefontfeature[english][dlig=no] > \definefontfamily[ebgaramond] [rm] [EB Garamond] >  [features={default,english}] > \setupbodyfont[ebgaramond,10pt] > > \starttext > > Variant 2: > Does this look like EBGaramond? > > fi fl ffi ffl ct st > \stoptext > > > It turns off just the ct and st ligatures. > > I've attached the generated PDF files for both variants. > > No, it turns off other ligatures as well, so is not a generally workable solution. (Try *fj* and *ſi*, for two examples.) -- Rik --------------3A9AED45A83738BDCE13C01F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit


On 12/2/2020 13:59, T. Kurt Bond wrote:
Interesting.  

Here is a an example that sort of works, Variant 1:
\definefontfamily[english] [rm] [ebgaramond] [features={default, dlig=no}]
\setupbodyfont[english,10pt]
\starttext

Variant 1:
Does this look like EBGaramond?

fi fl ffi ffl ct st
\stoptext

However, it turns of all the ligatures.

Here is an example that works as expected, Variant 2:
\definefontfeature[english][dlig=no]
\definefontfamily[ebgaramond] [rm] [EB Garamond]
                 [features={default,english}]
\setupbodyfont[ebgaramond,10pt]

\starttext

Variant 2:
Does this look like EBGaramond?

fi fl ffi ffl ct st
\stoptext

It turns off just the ct and st ligatures.

I've attached the generated PDF files for both variants.


No, it turns off other ligatures as well, so is not a generally workable solution. (Try fj and ſi, for two examples.)

--
Rik

--------------3A9AED45A83738BDCE13C01F-- --===============5624196054807324653== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5624196054807324653==--