[NTG-context] How do I get rid of the ct and st ligatures in EBGaramond?
T. Kurt Bond
tkurtbond at gmail.com
Wed Dec 2 20:01:23 CET 2020
I agree, this solution does seem cleaner to me. Thanks!
On Wed, Dec 2, 2020 at 1:23 PM Pablo Rodriguez <oinos at gmx.es> wrote:
> On 12/2/20 6:56 PM, T. Kurt Bond wrote:
> > Ah, ok.
> >
> > Here is a minimal NONWORKING example: the resulting PDF shows the ct and
> > st ligatures. What commands should I use to turn them off?
>
> Hi Kurt,
>
> here you have the sample that should work:
>
> %~ \definefontfamily[ebgaramond] [rm] [ebgaramond]
>
> %~ [features={default,dlig=no}]
>
> \definefontfeature[english][dlig=no]
>
> \definefontfamily[ebgaramond] [rm] [EB Garamond]
>
> [features={default,english}]
>
> \setupbodyfont[ebgaramond,10pt]
>
> \starttext
>
> ct st
>
> \stoptext
>
> BTW, on my system the default doesn’t get discretionary ligatures.
>
> Your sample didn’t work because the identifier for \definefontfamily
> (english) was different from the one used in \setupbodyfont. (If they
> don’t match, it cannot work.)
>
> Another cleaner approach is to define font features to invoke them in
> \definefontfamily. This method seems cleaner to me.
>
> I hope it helps,
>
> Pablo
> --
> http://www.ousia.tk
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___________________________________________________________________________________
>
--
T. Kurt Bond, tkurtbond at gmail.com, https://tkurtbond.github.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20201202/8a5aebdd/attachment.htm>
More information about the ntg-context
mailing list