[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [gwenview] [Bug 386329] Some SVGs are black
From:       Henrik Fehlauer <bugzilla_noreply () kde ! org>
Date:       2017-10-31 18:08:10
Message-ID: bug-386329-17878-8gFkLyjeYI () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=386329

Henrik Fehlauer <rkflx@lab12.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |UPSTREAM
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |rkflx@lab12.net

--- Comment #1 from Henrik Fehlauer <rkflx@lab12.net> ---
Hi Sefa, thanks for reporting and your enthusiasm for KDE's software. I can
confirm your observation. Unfortunately, "svgviewer" from the examples
contained in Qt's SVG module shows the same behaviour. As we just use Qt for
rendering SVGs, this means we cannot do anything for you from Gwenview's side
(except someone would provide a patch to change our SVG renderer to something
better).

Digging a bit deeper, the issue boils down to how the opacity is specified in
the SVG. In http://doc.qt.io/qt-5/svgrendering.html it is mentioned that only
SVG Tiny 1.2 is supported by Qt, which your SVG is not. However, there is a
trick to get SVGs not conforming to this spec to work: You can add
type="text/css" to the style element of your SVG, then Gwenview is able to
render it fine for me.

This problem has already been reported in
https://bugreports.qt.io/browse/QTBUG-58326, which is still unresolved. I added
a comment over there, but to get things going an actual patch against the Qt
SVG module would be needed.

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic