Page MenuHomePhabricator

native: Rendering error in overline, the line is too short in Chrome
Closed, ResolvedPublicBUG REPORT

Description

I'm using Chrome on Ubuntu 22.04.

The line generated by \overline is much too short, see the picture.

image.png (198×274 px, 8 KB)

The line above the number is almost unrecognisable.

Maybe this bug is connected to T352609.

Event Timeline

Physikerwelt renamed this task from native: Rendering error in overline, the line is too short. to native: Rendering error in overline, the line is too short in Chrome.Jan 27 2024, 2:27 PM
Physikerwelt claimed this task.
Physikerwelt moved this task from Inbox to Blocked: needs help on the Math board.

I double-checked this, the resulting MathML is precisely as the MathML generated by MathJax. With both versions, the line is too short in Google chrome.

It is not clear if the correct utf-8 codepoint is used for overline. https://de.wikipedia.org/wiki/%C3%9Cberstrich

LaTeXML uses &175; which does not work in Chrome. Here, using &oline works, however. See https://github.com/brucemiller/LaTeXML/issues/2317

Change 1002609 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/extensions/Math@master] Use U+203E for \overline macro

https://gerrit.wikimedia.org/r/1002609

Change 1002609 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Use U+203E for \overline macro

https://gerrit.wikimedia.org/r/1002609

works now in chrome as well

Screenshot 2024-02-17 at 22.18.51.png (1×2 px, 326 KB)