You are not logged in.

#1 2006-06-24 21:02:18

Galdona
Member
Registered: 2006-03-15
Posts: 196

Tango svg icons in KDE not correct

How do i fix this. I use the Tango icon set (in kde 3.5.3) because the icons are easy to recognize, especially at 16x16.

if you look at this:
[URL=http://img121.imageshack.us/my.php?image=tangoinkde7wy.png]tangoinkde7wy.th.png[/URL]

i enlarged the icons for the purpose of this post. In the screenshot, the window below konqueror is Thunar (a gtk2 app). In konqueror and the rest of kde, svg Tango icons are rendered incorectly, it seems with only a limited color palette. If you notice the gradients and shadows are abrupt, not smooth. But in gtk2 apps tango looks fine.

(although at the small sizes tango icons look fine in kde because they're in PNG format).

ps. im using the tango package in the repos.

Offline

#2 2006-06-25 04:26:32

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: Tango svg icons in KDE not correct

yeah i thought so

Offline

#3 2006-06-25 04:30:04

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Tango svg icons in KDE not correct

looks like KDE's SVG renderer doesnt handle gradients with transparencies.

Offline

#4 2006-06-25 04:31:40

manicka
Member
From: Australia
Registered: 2006-04-11
Posts: 43

Re: Tango svg icons in KDE not correct

there's a workaround at kdelook, but it's not a pretty option

http://www.kde-look.org/content/show.php?content=32288

Offline

#5 2006-06-25 05:20:00

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: Tango svg icons in KDE not correct

I was wondering if I was alone with this problem because I could not google this problem, but it happened on both computers I installed Arch on.

manicka, what workaround is that? On that page I could not find anything referencing the kind of problem I have.

Offline

#6 2006-06-26 01:35:34

manicka
Member
From: Australia
Registered: 2006-04-11
Posts: 43

Re: Tango svg icons in KDE not correct

sorry, that page had a link on it to the install instructions at the tango project. You need to patch several kde files to get the library to work properly

http://tango.freedesktop.org/Installation

Offline

#7 2006-06-26 07:28:53

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: Tango svg icons in KDE not correct

hmm, i think that may not be what Im looking for. Regarding the kde patches, the page says:

Without these patches, a number of icons will be missing from the [KDE] UI.

but it does not refer to any errors in SVG rendering, which is what I am experiencing (on two computers).

Offline

#8 2006-06-26 09:49:11

manicka
Member
From: Australia
Registered: 2006-04-11
Posts: 43

Re: Tango svg icons in KDE not correct

Galdona wrote:

but it does not refer to any errors in SVG rendering, which is what I am experiencing (on two computers).

ah ok, I had the same problem as well and just started using the  sparkling iconset instead. For the number of times I use kde apps it's not to bad.

Offline

#9 2006-06-27 18:40:38

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: Tango svg icons in KDE not correct

thanks for the tips manicka. anyway it turns out that the faulty svg-icon rendering of kde is a known issue, i just didnt google enough. the way around this is to use

--prefix=`kde-config --prefix` --enable-png-creation

during tango package building so that png versions of the svg's are created.

[edited]

Offline

#10 2006-06-27 20:25:45

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Tango svg icons in KDE not correct

KDE in archlinux is patched with tango patches BTW, so you don't need to apply them anymore.

Offline

#11 2006-06-28 07:03:10

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: Tango svg icons in KDE not correct

oh that's great. thanks.

Offline

#12 2006-06-28 09:38:38

manicka
Member
From: Australia
Registered: 2006-04-11
Posts: 43

Re: Tango svg icons in KDE not correct

latest packages make no difference here. SVG problem still occurs

Offline

#13 2006-06-28 12:55:25

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: Tango svg icons in KDE not correct

yes, it seems we need to wait for kde4 for proper svg icons. (the tango patches do not address the kde svg issue, btw.) tango pkg needs to be built with "--enable-png-creation" so kde will use the png's instead.

Offline

Board footer

Powered by FluxBB