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

text y is NaN #15

Open
Tokubara opened this issue Jan 18, 2025 · 0 comments
Open

text y is NaN #15

Tokubara opened this issue Jan 18, 2025 · 0 comments

Comments

@Tokubara
Copy link

When I export the SVG and open it in Inkscape, I notice that the text does not appear. However, when I open the same SVG in a browser, the text is visible, but its position is inconsistent.

Upon investigating, I found that the issue is caused by the y attribute being set to NaN in the <text> element, as shown below:

<text x="32.829978942871094" y="NaN" font-family="Segoe UI Emoji" font-size="20px" fill="#1e1e1e" text-anchor="middle" style="white-space: pre;" direction="ltr">1 2 3 4</text>
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

No branches or pull requests

1 participant