GNOME Bugzilla – Bug 565955
Small pattern is not rendered at 100% zoom
Last modified: 2017-12-13 17:35:14 UTC
Please describe the problem: The svg image is wrongly displayed by both eog and the thumbnailer, but firefox and inkview display it as it is supposed to be. Steps to reproduce: 1. Download the image attachment 2 [details]. View it with eog, or behold it's thumbnail (with compiz-fusion) 3. View it with inkview and firefox 4. Note the differences. They're big. Actual results: The svg is displayed very differently on the mentioned set of applications Expected results: The svg should be rendered the same way that it is when I created it with inkscape. Does this happen every time? It does. Other information: I was told that both eog and compiz use librsvg, so be it the guilty of this missrender. If you can proove me wrong, then let me apologize and find out what the real bug is.
Created attachment 125487 [details] This is the image attachment that the intial post corresponds to.
For the records I didn't say that compiz uses librsvg. :) I can confirm that it misrenders both in EOG and on the desktop (nautilus preview) in librsvg 2.22.3.
I mentioned no names ;), but if compiz does not use librsvg then may it be excused out of this bug, and filed into another one.
Created attachment 170626 [details] Reduced testcase Reduced testcase contains a rectangle and pattern definitions. A rectangle with pattern should be displayed. Interestingly if I zoom 224% or more, both of the original testcase and the reduced testcase work.
(I can't attach files) More reduced testcase more visible, contains a rectangle and only one pattern. I can confirm. <?xml version="1.0"?> <svg viewBox="0 0 48 48" height="100" width="100" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <defs> <pattern id="Strips1_1" height="1" width="2" patternUnits="userSpaceOnUse" patternTransform="matrix(1.0131 0 0 0.45426 39.837 27.733)"> <rect id="rect4034" height="2" width="1" y="-.5" x="0" fill="#000"/> </pattern> </defs> <rect height="8" width="20" fill="url(#Strips1_1)"/> </svg>
Duplicate of bug 538841.
Sorry perhaps this is nevertheless another bug.
But high probably the same, because the conditions are: 1px pattern
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/27.