Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix position adjustment for scaled svg items with ids #1221

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Feb 28, 2025

This PR fixes an issue where superscripts (or other scaled items) that have IDs are not positioned properly in SVG output. For example, 10^4 has the 4 too high. This is due to the correction being done to try to allow elements with IDs to be targets of a link and have the browser scroll to them properly. Unfortunately, the position adjustement wasn't being properly scaled.

@dpvc dpvc requested a review from zorkow February 28, 2025 14:22
@dpvc dpvc added this to the v4.0 milestone Feb 28, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant