Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #2845
Closed
Open
Issue created Mar 14, 2022 by Administrator@rootContributor

[legacy-v2/woff] LatinModern NonUnicode causes CSS height problem in Microsoft Word in Firefox

Created by: tomty89

Issue Summary

Having LatinModernMathJax_NonUnicode-Regular.woff in system causes lines in document opened in Editing mode in Microsoft Word (the online web app) in Firefox to have huge CSS (line-)heights. The problem is not observed in Chromium, so I cannot rule out that it is due to a flaw/bug in Firefox. However, other woff fonts in MathJax2 do not seem to cause the problem. Neither do I know whether Chromium cares about woff in system at all.

With the Arch Linux package mathjax2 remain installed, once /usr/share/fonts/mathjax2/HTML-CSS/Latin-Modern/woff/LatinModernMathJax_NonUnicode-Regular.woff is removed, the problem is gone.

Also see Steps to Reproduce.

Steps to Reproduce:

(0. Remove the mathjax2 package / fonts installed with pacman -R mathjax2)

  1. Place mathjax2/HTML-CSS/Latin-Modern/woff/LatinModernMathJax_NonUnicode-Regular.woff under /usr/share/fonts/
  2. Start Firefox and open any document with Microsoft Word (online web app); better use private browsing as cache seems to hide the problem sometimes

Technical details:

  • MathJax Version: 2.7.9
  • Client OS: Arch Linux
  • Browser: Firefox 98.0

Supporting information:

Abnormal: yes

Normal: no

Assignee
Assign to
Time tracking