Summary: | svg rendered incorrectly | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Wren Turkal <wt> |
Component: | File formats | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla |
Priority: | NOR | ||
Version: | 4.1.7 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/18dfc4d8ee25dff0e125fbf7879a6c3298f21991 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | acquired from https://thenounproject.com/search/?q=transgender&i=1100922 |
Description
Wren Turkal
2019-04-01 18:53:45 UTC
Comment on attachment 119201 [details] acquired from https://thenounproject.com/search/?q=transgender&i=1100922 https://thenounproject.com/search/?q=transgender&i=1100922 Git commit 18dfc4d8ee25dff0e125fbf7879a6c3298f21991 by Dmitry Kazakov. Committed on 23/04/2019 at 16:46. Pushed by dkazakov into branch 'master'. Fix loading SVG with omitted commands SVG supports omitting repeating command names. When checking for the next command we should make sure we parse a case when it starts not with a digit, but with a '.' sign. M +1 -1 libs/flake/KoPathShapeLoader.cpp https://invent.kde.org/kde/krita/commit/18dfc4d8ee25dff0e125fbf7879a6c3298f21991 Git commit 779589e5afd7bcef0e75c33d8b86b9a63c115d54 by Dmitry Kazakov. Committed on 23/04/2019 at 16:46. Pushed by dkazakov into branch 'master'. Try to estimate SVG document size by reading toplevel 'viewBox' tag It seem to be a general convention in other applications, like Firefox and QtSVG. The main purpose of such estimation is to read correct aspect ratio. M +27 -2 libs/flake/svg/SvgParser.cpp https://invent.kde.org/kde/krita/commit/779589e5afd7bcef0e75c33d8b86b9a63c115d54 |