-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Mismatch between view in notebook and Inkscape #101
Comments
Thanks for reporting this issue with how text is displayed. Unfortunately, the More evidence that the I've found the most reliable and portable way to align text in an SVG is by specifying the font with dw.Text('HELLO', 25, 100, 100+(25*0.8), font_family='Arial', ...) where 0.8 depends on your font. Either measure this or use some font inspection tool to determine the appropriate value. |
Thank you for your reply, If that's the case maybe it should be mentioned in the 'Quick Reference' I'll create PR to change the docs. |
Please do. Your issue really exemplified this. |
Hi,
This simple code, produces image in notebook as expected:
But when I open that in Inkscape there is a big mismatch nad text is not hanging any more.
Drawsvg: v2.1.1
Python: 3.11
Any idea how to fix that?
The text was updated successfully, but these errors were encountered: