| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Generally 👍 on the concept. Questions:
|
Sorry, something went wrong.
|
I agree pngs would be simpler, but... Checking all fonts is likely mostly relevant for test_mathfont_rendering only, I guess? |
Sorry, something went wrong.
|
OK, so only removing SVG and PS wouldn't gain us much because PNG uses the most space anyway. I'm very hesitant to use optipng for testing. First that'd make it a hard dependency for testing. And second more importantly, we'd bake the compression algorithm into our tests. If optipng changes somehow it could break all our tests. It likely has to be SVG if we want to save space. |
Sorry, something went wrong.
|
If the sqrt code itself needs to change (as opposed to its test), it should at least be in a separate commit. I'm not sure why those changes are happening as there's no context for it. |
Sorry, something went wrong.
This replaces e.g. `"font-family:DejaVu Sans;font-size:12px;font-style:book;font-weight:book;"` by `"font: 400 12px 'DejaVu Sans'"`. Note that the previous font weight was plain wrong...
|
Done. |
Sorry, something went wrong.
|
Conclusion from the dev call today:
|
Sorry, something went wrong.
I don't have hard numbers right now but IIRC embedding the paths makes the SVGs much larger, defeating the purpose of the PR... in that case we may just as well stick to png only for ease of use. |
Sorry, something went wrong.
|
You're right. The existing svgs under test_mathtext are roughly 2x the size of the corresponding png. Given that, the pragmatic solution is to stick to png only. So let's
|
Sorry, something went wrong.
|
milestoning as 3.4 as a dependency for #18916 |
Sorry, something went wrong.
|
Yup, milestoned the wrong one :p |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
... and using non-integer bases sqrt as example use case.
See #19186 (comment).
While I was at it I also fixed/shortened the font attribute used to specify the font (first commit).
PR Summary
PR Checklist