Hello and help whit icon(Linux) (resolved)

Post questions on how to use or achieve an effect in Inkscape.
Deckon
Posts: 5
Joined: Fri Jan 22, 2010 2:19 am

Hello and help whit icon(Linux) (resolved)

Postby Deckon » Fri Jan 22, 2010 2:38 am

Hello I am a rookie in inkscape and design and I try to design a icon theme for my kde environment so I did a icon of a folder and when I save the icon no matter in what format i save the icon(svg plane or svg Inkscape) when I try to view whit my document viewer or try to replace the original icon folder whit my icon this not appears.
I hope having explained correctly the doubt. Greetings

PD:Sorry the bad english :)
Last edited by Deckon on Fri Jan 22, 2010 8:56 am, edited 1 time in total.

User avatar
c-quel
Posts: 68
Joined: Thu Dec 31, 2009 2:13 am
Contact:

Re: Hello and help whit icon(Linux)

Postby c-quel » Fri Jan 22, 2010 2:58 am

Yo Deckon,

Funny, I was actually involved in KDE game development for a while, still am to a certain extent. ^^

First off, is this for KDE3 or KDE4? The KDE4 Oxygen icon theme, for example, uses only one set of scalable icons (the ones which use SVG). The rest are all PNGs at different sizes, such as 16x16, 24x24, 32x32, 48x48, 64x64, 128x128, and [very rarely] 256x256. [I'm sure I'm missing some]

Please check your /usr/share/icons/oxygen folder just to confirm you know what it is you want to save. If it is a PNG icon you want, you will want to use the Export menu instead to save a copy of your Inkscape image as a PNG bitmap. This is the most pain-free way of getting the icon you want (and as long as you save it in a size greater than 128x128, it will look beautiful). ^^b

On the other hand, if you do want an SVG icon, then can you explain to me how it looks like? Or post it here?

Prior to KDE 4.4, the SVG viewer (in Gwenview or Dolphin) is very limited in what kind of things it can display -- it has trouble rendering text, masks and clips, and cannot display blurring, filters or pattern fills.

Moreover, the QT4.5 SVG engine has a nasty bug that makes straight-line paths (like squares) disappear randomly -- this drove me nuts when I was doing my first game theme. A quick fix for that is to add Bezier handles to the path -- that way, even though they're still straight, at least the object is preserved intact. Presumably this bug is fixed in QT4.6, although i guess we'll all find out when KDE4.4 is formally released. :P

Hope this helps. ^^

Deckon
Posts: 5
Joined: Fri Jan 22, 2010 2:19 am

Re: Hello and help whit icon(Linux)

Postby Deckon » Fri Jan 22, 2010 3:24 am

firs thanks for the reply c-quel
Now, the icon theme is for kde4 and I wish to make the icons in svg and the the icon look's like this
Image
(I had to put the icon in PNG to can load)

thanks again for the help. Greetings

Ho I forget, I downloaded a icon theme whit icons svg and I can view that svg icons bot I can view my icons, Why? is the question

User avatar
c-quel
Posts: 68
Joined: Thu Dec 31, 2009 2:13 am
Contact:

Re: Hello and help whit icon(Linux)

Postby c-quel » Fri Jan 22, 2010 3:46 am

Hmmm... well true there are some straight surfaces here, but also some curvature (bezier based?) so extrapolating from the PNG it doesn't LOOK like something that should disappear from view. Again, best way for me to run a diagnostic is to actually open the SVG, take a peak, and test it out in my own KDE environment.

Course, there's no rush cause I'm away from home anyway, lol. ^.^
But when you do have a chance, please attach your folder's SVG so I can look at this more closely. Fixing SVG graphics so that they behaved properly in the Dolphin viewer was my specialty. ^^b

Deckon
Posts: 5
Joined: Fri Jan 22, 2010 2:19 am

Re: Hello and help whit icon(Linux)

Postby Deckon » Fri Jan 22, 2010 4:53 am

here is the file like a .tar.gz inside is the icon folder

http://www.mediafire.com/?mdyykztmwy1

again thanks and greetings

User avatar
c-quel
Posts: 68
Joined: Thu Dec 31, 2009 2:13 am
Contact:

Re: Hello and help whit icon(Linux)

Postby c-quel » Fri Jan 22, 2010 5:11 am

double-lol!
In addition to not having my KDE with me, I can't download from mediafire OR open tar.gz files from my current location. That's called a "triple whammy". :lol:

haha! Oh well, please give me a few hours and I'll checkz it out. ^^b

Deckon
Posts: 5
Joined: Fri Jan 22, 2010 2:19 am

Re: Hello and help whit icon(Linux)

Postby Deckon » Fri Jan 22, 2010 5:42 am

don't worry is not urgent :D
again thanks for your interest and your time. greetings

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Hello and help whit icon(Linux)

Postby ~suv » Fri Jan 22, 2010 6:58 am

c-quel wrote:Moreover, the QT4.5 SVG engine has a nasty bug that makes straight-line paths (like squares) disappear randomly -- this drove me nuts when I was doing my first game theme. A quick fix for that is to add Bezier handles to the path -- that way, even though they're still straight, at least the object is preserved intact. Presumably this bug is fixed in QT4.6, although i guess we'll all find out when KDE4.4 is formally released.

That bug doesn't happen randomly but seems to be triggered by the optimized path data used by Inkscape 0.47 for SVG output.

Question 78561 for Inkscape: “SVG edited with 0.47 isn't rendered correctly by QT 4.5.2
Bug #458388 in Inkscape: “Rendering errors in QtSvgRenderer due to changed SVG output in Inkscape 0.47

Known workaround in Inkscape 0.47: before saving an SVG drawing to be viewed in Gwenview or used in a Plasma or KDE Games themes, check your SVG output settings and enable

Inkscape Preferences > SVG output > Path data
    [x] Force Repeat Commands

User avatar
c-quel
Posts: 68
Joined: Thu Dec 31, 2009 2:13 am
Contact:

Re: Hello and help whit icon(Linux)

Postby c-quel » Fri Jan 22, 2010 7:16 am

Ah! I like the sound of that fix. ^^b

Deckon, give SUV's suggestion a try and see if that works please. :)

Deckon
Posts: 5
Joined: Fri Jan 22, 2010 2:19 am

Re: Hello and help whit icon(Linux)

Postby Deckon » Fri Jan 22, 2010 7:41 am

yea!! that work's thanks ~suv and c-quel

User avatar
c-quel
Posts: 68
Joined: Thu Dec 31, 2009 2:13 am
Contact:

Re: Hello and help whit icon(Linux)

Postby c-quel » Fri Jan 22, 2010 7:46 am

Cool. ^^
I'll keep that in mind for my own work, it'll save me some time. ^____^b

*writes note to self* :D


Return to “Help with using Inkscape”