[Qt-interest] Bug on rendering SVG with multiple opacities

Tiago Correia tiago at cnotinfor.pt
Wed May 20 11:56:32 CEST 2009


I did try to save as SVG Tiny 1.1 using Adobe Illustrator, but it didn't
work well. For some reason, it seems that using the style attribute is not
well handled by Qt.
So I've tried to save as SVG 1.0, and Adobe Illustrator converted from
style="" to separated properties and that solved the problem.

But since we use mainly Inkscape, and some images are not well rendered in
Adobe Illustrator, some that use gradients, we are now having some problems
in Mac. We will try to solve the problem, and then I'll provide some
feedback.

Does any one know of good SVG editors? We like Inkscape a lot, but it seems
I'm not able to choose to save without save all the attributes in the style
property.

On Tue, May 19, 2009 at 7:29 PM, Thiago Macieira <
thiago.macieira at trolltech.com> wrote:

> Tiago Correia wrote:
> >I've the attached SVG, but when rendering it on QGraphicsView it is not
> >rendered correctly. The opacity is not right.
> >
> >The problem seems that there are several opacities defined in the group
> > and layers.
> >
> >In the Inkscape program it opens just fine. I think it might be a bug in
> > Qt. I'm using version 4.5.1
>
> QtSvg only supports SVG Tiny 1.1.
>
> Can you confirm that your SVG is restricted to the features defined by that
> spec?
>
> --
> Thiago Macieira - thiago.macieira (AT) nokia.com
>  Senior Product Manager - Nokia, Qt Software
>      Sandakerveien 116, NO-0402 Oslo, Norway
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>


-- 
Tiago Correia
chief technology officer

cnoti inovação & desenvolvimento – Aprendizagem enRiquecida pela Tecnologia
www.cnotinfor.pt
Telefone: +351 239 499 231

Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de
Interactividade, Comunicação e Aprendizagem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090520/9f822f78/attachment.html 


More information about the Qt-interest-old mailing list