mathjax / mathjax/MathJax

v4-beta.3 STIX Two vertical space within square root

Open
#3,092 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Again, this might be intended but I'd like to check.

E.g., $$\sqrt {\log r}$$

With the new default font:

image

With the new STIX Two

image

With the "old" STIX Two

image

same expression with v4

image

In v4, STIX Two seems to have gained extra space within the root, both below and above the inner expression.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing $$\sqrt {\log r}$$ in MathJax v4 with the new and old STIX Two fonts, comparing the rendered spacing shown in the issue. Trace the square-root rendering and font metrics to identify whether the extra space is unintended; done means the expression no longer has unexplained vertical space while preserving the intended root layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.