* [NTG-context] update
@ 2024-03-11 17:48 Hans Hagen
2024-03-11 18:23 ` [NTG-context] update Pablo Rodriguez via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2024-03-11 17:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
Todays update has a fix for the compact mode slant interference (as
explained by Wolfgang a few days ago). Hopefully that works out well.
We (MS and HH) also managed to make curve detection more accurate (the
decision routine that is responsible for straight lines in the MP
output) so that extreme paths with control points way beyond reasonable
still produce the right output (before we could get a wrong bbox due to
clipping the curve in the backend). One can actually also force "always
curve" with "withcurvature 1" (more variants might follow) but that is
more or us to have a test option. Curvature detection is mostly a pdf
efficiency feature and normally users should rely on the default to work
okay.
Other new mp features are relative and absolute points which makes it
possible to define paths in a turtle graphics way (a bit like hlineto
and vline in postscript), a native "--" operator (equivalent but
somewehat more efficient on huge generated paths). The luametafun manual
has a chapter on paths that describes some of this.
Yet another new feature is "firstcontrol" and "secondcontrol" that is an
addendum to controls that makes both control points the same when only
one is given.
Finally there is a fix in mp where some directions, think { dir 120 },
gave the wrong result due to sign swapping (so it was seen as { dir 200}
or { dir -60 }) as side effect of negative zeros fed into tan2. This
became obvious when MS reprocessed a graphic, as last year we switched
from scsled (no bug) to double (long time bug exposed). (The bug is also
present in LuaTeX double/binary mode but it will be fixed there too.)
The rest is not (yet) worth mentioning,
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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: update
2024-03-11 17:48 [NTG-context] update Hans Hagen
@ 2024-03-11 18:23 ` Pablo Rodriguez via ntg-context
2024-03-11 19:14 ` Emanuel Han via ntg-context
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-03-11 18:23 UTC (permalink / raw)
To: ntg-context; +Cc: Pablo Rodriguez
On 3/11/24 18:48, Hans Hagen wrote:
> Hi,
>
> Todays update has a fix for the compact mode slant interference (as
> explained by Wolfgang a few days ago). Hopefully that works out well.
Many thanks for that fix, Hans.
Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: update
2024-03-11 18:23 ` [NTG-context] update Pablo Rodriguez via ntg-context
@ 2024-03-11 19:14 ` Emanuel Han via ntg-context
0 siblings, 0 replies; 3+ messages in thread
From: Emanuel Han via ntg-context @ 2024-03-11 19:14 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Emanuel Han
[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]
Dear developers,
thanks for your hard work!
Thank you Wolfgang for the Japanese line break rule fix in line 831 of scrp-cjk.lua:
full_width_open = stretch_break, -- WS, was: nobreak_stretch_break_shrink,
Emanuel
On März 11 2024, at 7:23 pm, Pablo Rodriguez via ntg-context <ntg-context@ntg.nl> wrote:
> On 3/11/24 18:48, Hans Hagen wrote:
> > Hi,
> >
> > Todays update has a fix for the compact mode slant interference (as
> > explained by Wolfgang a few days ago). Hopefully that works out well.
>
> Many thanks for that fix, Hans.
> Pablo
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 1384 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-11 19:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-11 17:48 [NTG-context] update Hans Hagen
2024-03-11 18:23 ` [NTG-context] update Pablo Rodriguez via ntg-context
2024-03-11 19:14 ` Emanuel Han via ntg-context
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).