Page MenuHomePhabricator

native: Rendering for MathCal not working on Chrome
Closed, ResolvedPublicBUG REPORT

Description

The math alphabets such as \mathcal{ABCDEF} are rendered using <mi data-mjx-variant="-tex-calligraphic" mathvariant="script">A</mi> mathvariant is not in mathml-core so the end result depends on CSS and local font install. On Chrome I get Cambria Math ascii in italic style A and in firefox I get STix Two Math Ascii A in italic style, so not calligraphic/script in either case. It would be better to use the Unicode math alphabet codepoints, so in this case 𝒜ℬ𝒞𝒟ℰℱ”

Event Timeline

Change 979217 had a related patch set uploaded (by Stegmujo; author: Stegmujo):

[mediawiki/extensions/Math@master] Fix mathcal in chrome

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

Change 979217 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Fix mathcal in chrome

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

The \mathbb{a} looks even better than before.

Screenshot 2024-01-02 at 21.10.30.png (440×766 px, 64 KB)