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

List:       kde-artists
Subject:    Re: K-ARTIST:SVG viewer?
From:       Vadim Plessky <lucy-ples () mtu-net ! ru>
Date:       2002-10-20 13:41:42
[Download RAW message or body]

On Wednesday 16 October 2002 12:46 pm, luciash d' being wrote:
|  Vadim Plessky wrote:
|  > |  > I can recommend ksvg.
|  > |
|  > |  I can not, yet :( . See attached kugla.png image. I run KDE 3.0.8
|  > | (KDE 3.1 beta2) compiled HEAD a few days ago. Kugla.svg has been
|  > | created with Sodipodi (where are the colors? it should look excatly
|  > | like png version)
|
|  just a question: isn't it sodipodi fault then?

Hi, I think you quoted antialias, right (not me)?

Anyway, I will try to answer.
Sodipodi uses (in particular) cross-referencing for defining gradients.
AFAIK KSVG can't handle such things.

I don't know what kind of code uses antialias, so I will refer to my 'Undo' 
icon.
there is a
  fill:url(#linearGradient268)
for the path,
   id="linearGradient268"  refers to  xlink:href="#id0"
KSVG can't handle it.
Pls check attached SVG example, and rendering for that SVG file by KSVG and 
RSVG.
Hopefully, librsvg canhandle such constructions (which are *valid* XML files, 
BTW!)

    <linearGradient id="id0"
       x1="159"       y1="84"
       x2="7"       y2="-2">
      <stop offset="0.000000"  style="stop-color:#009240;stop-opacity:1;"
         id="stop255" />
      <stop   offset="1.000000" style="stop-color:#b9db7d;stop-opacity:1;"
         id="stop256" />
    </linearGradient>
    <linearGradient
       x1="1.09451"       y1="0.929688"
       x2="-0.081446"      y2="0.046875"
       xlink:href="#id0"
       id="linearGradient268" />
  </defs>

|
|  luci

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/

["undo-v2.1-ksvg.png" (image/png)]
["undo-v2.1-rsvg.png" (image/png)]
["undo-v2.1-sodipodi0.26-plain.svg" (image/svg+xml)]
_______________________________________________
kde-artists mailing list
kde-artists@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-artists

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

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