Math hat misplaced in Libertinus

The hat accent is misplaced in Libertinus. I just noticed this in the LMTX from January. It is still the case in the latest LMTX. \usetypescriptfile[libertinus] \setupbodyfont [libertinus,12pt]% \startTEXpage[offset=1pt] \m{ \hat v \neq \vec v } \stopTEXpage This problem is not present in the TexLive 2024 version of LMTX. Thanks! Gavin

Hi Gavin,
Sorry, something must have been changed and then not really tested. In
libertinus-math.lfg
you can put
{
tweak = "dimensions",
list = {
[0x302] = { width = 0 }, --hat
[0x303] = { width = 0 }, --tilde
},
},
before the "checkaccents" tweak, and then comment/remove those two
lines below in the "dimensions" tweak. Then it should be "back to
normal".
/Mikael
On Tue, Feb 18, 2025 at 1:41 AM Gavin via ntg-context
The hat accent is misplaced in Libertinus. I just noticed this in the LMTX from January. It is still the case in the latest LMTX.
\usetypescriptfile[libertinus] \setupbodyfont [libertinus,12pt]%
\startTEXpage[offset=1pt] \m{ \hat v \neq \vec v } \stopTEXpage
This problem is not present in the TexLive 2024 version of LMTX.
Thanks! Gavin___________________________________________________________________________________ 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 ___________________________________________________________________________________

Beautiful! Thanks. -Gavin
On Feb 18, 2025, at 4:01 AM, Mikael Sundqvist
wrote: Hi Gavin,
Sorry, something must have been changed and then not really tested. In libertinus-math.lfg
you can put
{ tweak = "dimensions", list = { [0x302] = { width = 0 }, --hat [0x303] = { width = 0 }, --tilde }, },
before the "checkaccents" tweak, and then comment/remove those two lines below in the "dimensions" tweak. Then it should be "back to normal".
/Mikael
On Tue, Feb 18, 2025 at 1:41 AM Gavin via ntg-context
wrote: The hat accent is misplaced in Libertinus. I just noticed this in the LMTX from January. It is still the case in the latest LMTX.
\usetypescriptfile[libertinus] \setupbodyfont [libertinus,12pt]%
\startTEXpage[offset=1pt] \m{ \hat v \neq \vec v } \stopTEXpage
This problem is not present in the TexLive 2024 version of LMTX.
Thanks! Gavin___________________________________________________________________________________ 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 ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (2)
-
Gavin
-
Mikael Sundqvist