| Summary: | Pattern in SVG created by Inkscape does not load | ||
|---|---|---|---|
| Product: | [Applications] karbon | Reporter: | Damian Kaczmarek <rushpl> |
| Component: | general | Assignee: | Jan Hambrecht <jaham> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | bvbfan, harald.brennich |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Here how it looks in Karbon
How it should look SVG source Screenshot firefox Screenshot dolphin |
||
|
Description
Damian Kaczmarek
2009-07-13 23:31:37 UTC
Created attachment 35290 [details]
Here how it looks in Karbon
Created attachment 35291 [details]
How it should look
Created attachment 35292 [details]
SVG source
I fixed some things in the pattern parsing code in the svg import filter. The thing still missing is support for pattern transforms. Created attachment 118044 [details]
Screenshot firefox
Created attachment 118045 [details]
Screenshot dolphin
Even simple patterns fail, e.g. <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="32" version="1.1" xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 0 32 32" xmlns:xlink="http://www.w3.org/1999/xlink" > <defs> <pattern id="pat1" x="0" y="0" width="0.28" height="1" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox" > <rect x="0" y="0" width="0.14" height="1" fill="white"/> <rect x="0.14" y="0" width="0.14" height="1" fill="black"/> </pattern> </defs> <g > <rect x="0" y="10" width="28" height="5" stroke="white" fill="url(#pat1)" transform="rotate(-20 0 10)"/> <rect x="2" y="12" width="28" height="5" stroke="white" fill="url(#pat1)"/> <rect x="2" y="17" width="28" height="14" stroke="white" fill="black"/> <text x="10" y="28" font-weight="bold" font-size="10" fill="red">M</text> <text x="18" y="28" font-weight="bold" font-size="10" fill="blue">V</text> </g> </svg> This svg works fine with firefox and emacs see Screenshot firefox), but not with dolphin or as desktop symbol (see Screenshot dolphin): Which version did you use, i see it exactly as https://bugsfiles.kde.org/attachment.cgi?id=118044 |