* Ligatures blocking -- why block unspecified ligatures?
@ 2021-05-12 9:22 denis.maier
0 siblings, 0 replies; only message in thread
From: denis.maier @ 2021-05-12 9:22 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1089 bytes --]
Hi,
I just ran into an issue with the \blockligatures mechanism. For some reason, the following examples replaces ffi with f|fi and ffl with f|fl although I have not specified them in \blockligatures:
==============================================
\definefontfeature[default][default][dlig=yes,liga=yes]
\definefontfeature[default:block][default][blockligatures=yes]
% block certain ligatures globally, but not f|fl, f|fi
\blockligatures [ft,fft,fj,ffj,fk]
\definefontfamily[times][rm][Times New Roman]
\startbuffer[test]
fj\\
ffi\\
ffl\\
ff\\
fi
\stopbuffer
\starttext
\getbuffer[test]
\definedfont[Serif*default:block]
\getbuffer[test]
\switchtobodyfont[times]
\getbuffer[test]
% With Times New Roman, we can even see the bars in the output
\definedfont[Serif*default:block]
\getbuffer[test]
\stoptext
==================================
What am I missing?
(I am trying to block certain ligatures globally, ie. ft,fft,fj,ffj,fk, but fi, ffi, fl, fll are being dealt with in the language goodies file.)
Thanks for your help,
Denis
[-- Attachment #1.2: Type: text/html, Size: 4383 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-12 9:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12 9:22 Ligatures blocking -- why block unspecified ligatures? denis.maier
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).