| Summary: | Trying to open svg's from Blender crashes Krita (Gimp / Inkscape work fine) | ||
|---|---|---|---|
| Product: | [Applications] calligracommon | Reporter: | Kubuntiac <user581> |
| Component: | flake | Assignee: | Calligra Bugs <calligra-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | cberger, halla |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | SVG from Blender which crashes Krita on import | ||
|
Description
David Faure
2010-12-17 19:41:15 UTC
Git commit 79995f56cd67834a57f107c09e95d5494b2982f0 by Thorsten Zachmann.
Committed on 16/04/2012 at 07:49.
Pushed by zachmann into branch 'master'.
Fix crash in loading svg file from blender
The svg file blender writes out contains a viewBox with wrong content
<svg width="2048px" height="2048px" viewBox="0px 0px 2048px 2048px"
xmlns="http://www.w3.org/2000/svg" version="1.1">
Workaround the bug by removing the px from the viewBox string before loading
the viewBox values.
M +4 -0 libs/flake/svg/SvgUtil.cpp
http://commits.kde.org/calligra/79995f56cd67834a57f107c09e95d5494b2982f0
Git commit dbd45914ec7be2f67bd1feb030bfda58c3860754 by Thorsten Zachmann.
Committed on 16/04/2012 at 07:49.
Pushed by zachmann into branch 'calligra/2.4'.
Fix crash in loading svg file from blender
The svg file blender writes out contains a viewBox with wrong content
<svg width="2048px" height="2048px" viewBox="0px 0px 2048px 2048px"
xmlns="http://www.w3.org/2000/svg" version="1.1">
Workaround the bug by removing the px from the viewBox string before loading
the viewBox values.
Reviewed by: boemann
(cherry picked from commit 79995f56cd67834a57f107c09e95d5494b2982f0)
M +4 -0 libs/flake/svg/SvgUtil.cpp
http://commits.kde.org/calligra/dbd45914ec7be2f67bd1feb030bfda58c3860754
|