From: Denis Maier via ntg-context <ntg-context@ntg.nl>
To: <ntg-context@ntg.nl>
Cc: denis.maier@unibe.ch
Subject: Re: blockligatures removing characters
Date: Mon, 9 May 2022 07:56:48 +0000 [thread overview]
Message-ID: <bb26e36dfc784b429ac103978373c7eb@unibe.ch> (raw)
In-Reply-To: <55ab932e-2923-425a-a2ae-cab821fe218b@www.fastmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2021 bytes --]
Happens here as well, already on ConTeXt ver: 2022.03.12 17:56 LMTX.
By the way, this even happens without special fonts:
\blockligatures[Th]
\definefontfeature[default:blocklig][default][liga=yes,blockligatures=yes]
\setupbodyfont[myfont]
\starttext
\definedfont[Serif*default:blocklig]
The This These are missing the `h'
\stoptext
Von: ntg-context <ntg-context-bounces@ntg.nl> Im Auftrag von Ben Moon via ntg-context
Gesendet: Samstag, 7. Mai 2022 17:49
An: Context Mailing List <ntg-context@ntg.nl>
Cc: Ben Moon <ben@themoons.uk>
Betreff: [NTG-context] blockligatures removing characters
Hi List,
I'm using blockligatures to avoid the 'Th' ligature in some fonts but keep others. Recently I've found this removes the 'h' completely, i.e. 'Th' is changed to 'T', 'The' becomes 'Te' etc.
Is there a way to restore the blockligatures functionality? I'm on ConTeXt version 2022.05.02 16:19.
Here is a MWE using Almendra (https://fonts.google.com/specimen/Almendra<https://fonts.google.com/specimen/Almendra?preview.text=Th%20Almost%20before%20we%20knew%20it,%20we%20had%20left%20the%20ground.%20&preview.text_type=custom>) from Google Fonts.
```
\starttypescriptcollection[myfont]
\starttypescript[myfont]
\definefontsynonym[Serif][Almendra-Regular][features=default]
\stoptypescript
\starttypescript[myfont]
\definetypeface[\typescriptone][rm][serif][myfont][default][]
\stoptypescript
\stoptypescriptcollection
\blockligatures[Th]
\definefontfeature[default][default][liga=yes]
\definefontfeature[default:nolig][default][liga=no]
\definefontfeature[default:blocklig][default][liga=yes,blockligatures=yes]
\setupbodyfont[myfont]
\starttext
The This These have the Th ligature and others (fi)
\definedfont[Serif*default:nolig]
The This These have no ligatures (not fi)
\definedfont[Serif*default:blocklig]
The This These are missing the `h' (fi)
\stoptext
```
Best,
Ben
[-- Attachment #1.2: Type: text/html, Size: 7860 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2022-05-09 7:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-07 15:49 Ben Moon via ntg-context
2022-05-09 7:56 ` Denis Maier via ntg-context [this message]
2022-05-09 13:03 ` Hans Hagen via ntg-context
2022-05-09 13:20 ` Denis Maier via ntg-context
2022-05-13 13:29 ` Ben Moon via ntg-context
2022-05-13 13:49 ` Ben Moon via ntg-context
2022-05-13 13:53 ` Denis Maier via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bb26e36dfc784b429ac103978373c7eb@unibe.ch \
--to=ntg-context@ntg.nl \
--cc=denis.maier@unibe.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).