Skip to content

Conversation

@dpvc
Copy link
Member

@dpvc dpvc commented Nov 24, 2023

This PR fixes a problem with the size of SVG elements for in-lin math when in-line line-breaking is enabled. It fixes the determination of the node where the line breaking occurs by not descending into unbroken nodes. The bbox.start was not being properly tested, so it would descending into a fraction, for example, and stop at its numerator, giving the wrong scaling factor when the height and width of the resulting SVG was set.

Resolves issue mathjax/MathJax#3135.

@dpvc dpvc added this to the v4.0 milestone Nov 24, 2023
@dpvc dpvc assigned zorkow and unassigned zorkow Nov 24, 2023
@dpvc dpvc requested a review from zorkow November 28, 2023 13:41
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.

lgtm.

@dpvc dpvc merged commit 13016ac into develop Dec 28, 2023
@dpvc dpvc deleted the issue3135 branch December 28, 2023 22:36
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.

3 participants