-
Notifications
You must be signed in to change notification settings - Fork 295
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
[SVG] The user should be able to provide the units of measurement for an svg #1325
base: master
Are you sure you want to change the base?
Conversation
How does this relate to this existing draft PR? |
Codecov Report
@@ Coverage Diff @@
## master #1325 +/- ##
==========================================
- Coverage 94.24% 94.14% -0.11%
==========================================
Files 26 26
Lines 5495 5485 -10
Branches 932 929 -3
==========================================
- Hits 5179 5164 -15
- Misses 187 189 +2
- Partials 129 132 +3
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I wasn't actually aware of that PR @jmwright |
@lorenzncode what do you think? Do you want to finish your PR first? |
I find this PR breaks SVG export with
This PR adds a units parameter but I don't see where the units are put to use. In #1317 it looks like the idea is to influence scaling. I'd also like to have optional control of the scale and that is one of the features of #1277. |
Right now this has nothing to do with scaling. uom is used internally to set the scaling factor. What I changed here is the ability of the user to explicitly set the unit of measure instead of the current heuristic which works like this: <0.1 must be inches and >10 must be millimeter. I am preparing a separate PR for the scaling changing for which I will be taking a look at your PR to combine them @lorenzncode |
Closes: #1323
CC: @voneiden