-
Notifications
You must be signed in to change notification settings - Fork 104
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
When font-size declared in rem, text is missing in the exported file. #232
Comments
Not sure whether "rem" is officially supported in SVGs, not even SVG2 seems to be clear on this: https://svgwg.org/svg2-draft/types.html#InterfaceSVGLength And I don't think browsers, agree with the implementation, either: https://bugzilla.mozilla.org/show_bug.cgi?id=1231147 How should the size be determined for an SVG embedded into a PDF? Font sizes relative to what? |
I guess it should work similarly to the Indeed the SVG2 documention doesn't mention the |
OK - the latter should have been fixed in #100 but might not work for the CSS attributes, but only for the "real" SVG attributes. |
Let's create another issue for the |
Describe the bug
When adding the
font-size
expressed inrem
to a text, it is not visible in the exported file.To Reproduce
See this playground.
Expected behavior
The
font-size
inrem
should be applied similarly to the on inpx
- which works well.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: