Re: [NTG-context] No kerning across discretionary nodes in latest ConTeXt upload

2021-05-20 Thread Hans Hagen

On 5/20/2021 12:31 PM, Marcel Fabian Krüger wrote:

Hi,

since the latest upload, ConTeXt no longer applies kerning across
discretionary nodes:
actually a rather old bug, but that it surfaces now is a side effect of 
some experimental optimzxiation that makes us end up in another injector 
branch


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
___


[NTG-context] No kerning across discretionary nodes in latest ConTeXt upload

2021-05-20 Thread Marcel Fabian Krüger
Hi,

since the latest upload, ConTeXt no longer applies kerning across
discretionary nodes:

\starttext
\setbox0\hbox{V\-a}
\showboxdepth\maxdimen
\showboxbreadth\maxdimen
\tracingonline1
\showbox0
\stoptext

used to show

> \box0=
\hbox(8.1915+0.25186)x13.69647, direction TLT
.<1: lmroman12-regular @ 12.0pt> V
.\discretionary (penalty 50)
..< <1: lmroman12-regular @ 12.0pt> -
..= \kern-0.98346 (font)
.<1: lmroman12-regular @ 12.0pt> a

but now changed to

> \box0=
\hbox(8.1915+0.25186)x14.67993, direction TLT
.<1: lmroman12-regular @ 12.0pt> V
.\discretionary (penalty 50)
..< <1: lmroman12-regular @ 12.0pt> -
.<1: lmroman12-regular @ 12.0pt> a

This seems like a regression.

Best regards,
Marcel
___
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
___