Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle measuring of elements as in liteDOM, since jsdom doesn't do measurements. (mathjax/MathJax#2550) #597

Merged
merged 2 commits into from
Mar 12, 2021

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Feb 24, 2021

This PR allows the jsdom adaptor to handle undefined characters and mtextFontInherit better (in the same way that the liteDOM does). It also adds options for the jsdom adaptor so that you can specify the widths and heights to use for the unknown characters.

Resolves issue mathjax/MathJax#2550.

@dpvc dpvc requested a review from zorkow February 24, 2021 22:09
@dpvc dpvc added this to the 3.1.3 milestone Feb 24, 2021
Copy link
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a typo in a comment.

};

/**
* Pattern to identify CJK (.i.e., full-width) characters
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

@dpvc dpvc merged commit ea25711 into develop Mar 12, 2021
@dpvc dpvc deleted the issue2550 branch March 12, 2021 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants