* ligature prevention
@ 2021-01-05 11:51 Hans Hagen
2021-01-05 12:20 ` denis.maier
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2021-01-05 11:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I probably didn't mention this yet but the way to deal with ligature and
kerning prevention in lmts is:
whatever\par
{\nokerning whatever}\par
efficient ff fi\par
{\noligaturing efficient ff fi}\par
{\nokerning\noligaturing efficient ff fi}\par
{e{\noligaturing ffi}cient}\par
because this feature can be used local and because it actually has more
granularity than advertised, I added this in the next version
{ef{\noleftligaturing f}icient ff fi}\par
{ef{\norightligaturing f}icient ff fi}\par
(so, specific commands for left/right control). Or course one can wonder
how useful it is, but because tex is all about control ...
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread
* Re: ligature prevention
2021-01-05 11:51 ligature prevention Hans Hagen
@ 2021-01-05 12:20 ` denis.maier
2021-01-05 13:03 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: denis.maier @ 2021-01-05 12:20 UTC (permalink / raw)
To: ntg-context
Cool.
How is that related to \zwj and \zwnj?
By the way, the ligature suppression mechanism via \startexceptions is already implemented, correct? If yes, it should now be possible to convert the existing wordlists to the new format, right?
Best,
Denis
________________________________________
Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Hans Hagen <j.hagen@xs4all.nl>
Gesendet: Dienstag, 5. Januar 2021 12:51:35
An: mailing list for ConTeXt users
Betreff: [NTG-context] ligature prevention
Hi,
I probably didn't mention this yet but the way to deal with ligature and
kerning prevention in lmts is:
whatever\par
{\nokerning whatever}\par
efficient ff fi\par
{\noligaturing efficient ff fi}\par
{\nokerning\noligaturing efficient ff fi}\par
{e{\noligaturing ffi}cient}\par
because this feature can be used local and because it actually has more
granularity than advertised, I added this in the next version
{ef{\noleftligaturing f}icient ff fi}\par
{ef{\norightligaturing f}icient ff fi}\par
(so, specific commands for left/right control). Or course one can wonder
how useful it is, but because tex is all about control ...
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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] 3+ messages in thread
* Re: ligature prevention
2021-01-05 12:20 ` denis.maier
@ 2021-01-05 13:03 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2021-01-05 13:03 UTC (permalink / raw)
To: mailing list for ConTeXt users, denis.maier
On 1/5/2021 1:20 PM, denis.maier@ub.unibe.ch wrote:
> How is that related to \zwj and \zwnj?
It isn't. It's one of the properties that gets assigned to glyphs so
individual glyphs can be told either or not to kern, make ligatures,
protrude, expand, tweak dimensions, etc.
There is some more new glyph juggling, like
\def\UnKernedTeX{T{\glyph xoffset -.2ex yoffset -.4ex `E}{\glyph
xoffset -.4ex options "C0 `X}}
\dorecurse{100}{ x \UnKernedTeX}
as well as some scaling features. All to be applied and integrated in
due time.
> By the way, the ligature suppression mechanism via \startexceptions is already implemented, correct? If yes, it should now be possible to convert the existing wordlists to the new format, right?
Maybe, but not (yet) on the agenda. My priority is now with some font
stuff.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2021-01-05 13:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 11:51 ligature prevention Hans Hagen
2021-01-05 12:20 ` denis.maier
2021-01-05 13:03 ` Hans Hagen
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).