Inkscape Community
Skills, Challenges & Artwork => Work In Progress => Topic started by: Teto on January 14, 2018, 04:55:33 AM
-
I like dark themes, most of the time, and I found one that looks pretty. But I didn't find useful icons for this theme, except for the toolbar "Tools" that can be found here: https://logosbynick.com/new-icons-for-inkscape/ (https://logosbynick.com/new-icons-for-inkscape/).
So I started my own icons (but I keep the icons for "tools"). When finished, I'll ask to Nick Saporito if I can have his icons in the file I'll share.
First, I started with snapping. (see attachment) :-$
Now the icons for each tool, tool by tool. :hh:
-
Is Snap to Intersections missing?
-
Nope, it's the seventh, from the left.
-
Oh, I thought that was "Snap to Cusp/Corner Nodes".
-
No, this one is on its right. My problem here is that icons are small, and I tried to stay clear. And there's a difference between what you have in big when you're drawing, and what you see at the end. But I'm not completely satisfied anyway. Maybe I'll modify them later (and they already aren't the first version, it's the third). And a magnet for snapping, seriously? A little cheesy, isn't it? :-D
-
There's an icon preview available via View > Icon preview. Perhaps you'd like to use that?
-
I like the magnet for snapping. That's really a lot like how snapping works, just like a magnet!
-
There's an icon preview available via View > Icon preview. Perhaps you'd like to use that?
Yes, I discovered that yesterday. :lol:
I like the magnet for snapping. That's really a lot like how snapping works, just like a magnet!
:-$
-
Well.....I think a lot of people think I should be embarrassed about things I say. But it doesn't change anything. You be embarrassed. I'm not, I like it :-D
-
At last.
After snapping toolbar, here are all icons for sub toolbar for tools, the ones under menus that we can't move. :hd:
I'll try to keep the pace and do all dialog icons this week. Don't hesitate if you have remarks.
(as the tools icons are not mine, they are erased for the moment.)
-
I'm not a dark theme user. So it's hard to comment. First 2 on the top row -- I had to open Inkscape to find out what they are. It's a net, like to catch butterflies or fish? Yeah, that makes sense.
2nd row, 5th from right. Is that 2 curved lines close together, or a really thick line. Must be for stroke to path? They aren't in the same order as mine.
-
- The advantage of these icons (B&W) is that for every theme it'll work, you just have to change the color to suit the tone of the theme. Yes the butterflies catcher is for "select all". I wanted to do something different from the original.
- Stroke to path, yes. Not the same order, that's right. This line is a little messy. :-$
Anyway. I didn't want to reinvent the wheel, most of the icons are strictly B&W versions of the originals. But I'm sure to change some icons for next version (I'm note satisfied by few ones). But for now, the aim is to finish the "collection". :-D
-
Mostly menu icons done. Redone few old ones. But still no satisfied with new ones (arrows sometimes too small, as some strokes). :hh:
But first, finish the collection. Changes for later.
I've already checked that few icons are directly taken from gtk icons collection, so at the end, few icons won't be in the new style. Pity. I'll make a list with pictures, I hope that it will be corrected for the next version.
Anyway, here are the new icons. Now, go to sleep. I'll try to finish the next 2 weeks.
-
I almost finished. :hd:
Just few icons that don't seem difficult to draw.
I've redrawn the Tools' icon (the toolbar on the left of the screen). But as always I'm not satisfied with few of them, and I have to remake at least 2 of them, they're just too ugly.
Unfortunately many icons come from the gtk library and I don't know to change that. Even few icons from the standard icons.svg are not shown, other are used. Very annoying.
Anyway. Here they are.
-
You can't change them. In Inkscape 0.93, you will be able to, I think. Also, there all icons will be in separate files.
-
Yep, I know for the separated files ( :th:), and I hope that all icons will be available. :beg:
-
Almost done. 3 old icons remain.
I'll have to change few icons, especially the eye (open/close) because it doesn't suit with the rest, at all. I guessed how the engine works, to show icons. The annoying thing here, is that for the eye (shown/hidden) is changed to a very small bitmap, and then enlarged for a bigger icon, not from svg, but from small bitmap, so the result is just ugly. ANd it's the same thing for few other icons. I hope that it will be corrected for the next release.
Anyway, here they are. Enjoy. And don't hesitate if you have remarks. :wave:
-
Done.
As you can see, some icons look good, some are blurry (because of the way Inkscape handle them), other are very small (why?) and few remain unchanged, as discussed here yesterday.
I'm done for now, but I'll change some of them from time to time, if I think that they are not clear enough. But I won't change the shape for the blurry ones, 'cause I hope that it will be fixed for the next release.
-
You can try it out yourself, just install the (not next release, but future 0.93) development version (next release will not fix it, I believe, as that is going to be 0.92.3).
Get the development version for the master branch for testing here: https://inkscape.org/releases/master/
-
other are very small (why?)
Curious! I would interpret that to mean there must be some size set for those icons in the Inkscape program, such that any icon will also be tiny.
I always thought developers were just a little lazy about making sure all the icons are the same size. But this indicates it may be programatic. I mean, maybe it should be considered a bug?
There are a lot of what I consider to be ridiculously small icons!
-
You can try it out yourself, just install the (not next release, but future 0.93) development version (next release will not fix it, I believe, as that is going to be 0.92.3).
Get the development version for the master branch for testing here: https://inkscape.org/releases/master/
Oh thanks, I'll check it out. :ty1:
other are very small (why?)
Curious! I would interpret that to mean there must be some size set for those icons in the Inkscape program, such that any icon will also be tiny.
I always thought developers were just a little lazy about making sure all the icons are the same size. But this indicates it may be programatic. I mean, maybe it should be considered a bug?
There are a lot of what I consider to be ridiculously small icons!
I don't know for the bug. I suppose... Anyway, I'll check it with 0.93, if it's here again, I'll report as a bug. :)
-
I just checked. Great, all bugs are gone. :yay:
But many icons, too. :-D So much work for useless icons. :b1:
Anyway. Except the last added tool that doesn't work at all, this version looks steady enough to work with. I'll just have to separate all my icon file for individual files, but I know that there's an extension that does that well (if it works as intended, I didn't test yet).
And I like the new theme, too. And the speed for complicated filters !!
-
I just got an email from Karina who told me she made better icons work with Inkscape 0.92.3, too. I'm not entirely sure how she did it, but I'll tell her about this forum thread, maybe the two of you can work together (e.g. make a merge request that fixes some of the icon issues for 0.92.3 already, and/or offering a downloadable icon set for hdpi screens on the Inkscape website - 0.92.3 will be released soon, so hurry!).
I don't know if your interests align sufficiently, but it might be worth a try.
The master branch has severe performance issues on Windows - if you're not running into them, then you're quite lucky to have good hardware and small files. It's deemed unstable - but maybe Karina's solution will work for you, too. Hope she'll get back to you here.
-
No problemo! :D
(and I tested with 0.92.3, not 0.93 - didn't find it, so yes, Karina did the job!)
-
She didn't do anything on that version, but worked on making icons look good on her home hidpi screen. Sadly, it doesn't look like she will join forces to make the icons both work on hidpi and look good.
-
Really sad, indeed. :beg:
Anyway, below an example with the actual "nightly build" theme (except the last, I didn't draw it yet). I changed the color to dark blue, because it's better than black. But it's a pain because I have to:
- change my group names' tag in order to be the same as the ID name.
- change the group to a layer via the "Objects" dialog.
- After that I put each layer to the top level.
- And then I save_as "layer to separate svg file".
- Extract all files from the .tar created.
- resize the canvas for each file, clean unused defs, save.
Pretty long isn't it? :hh:
My point is: If I have to change the color for a reason, I have to change the palette for each file -> very long and boring.
A batch is possible?
I'd like to have a single .svg with all icons and when the program is starting, it checks individual files, then groups in icons.svg if an individual file doesn't exist. This way, it mill be much easier to share packs, and quickly change colors if wanted. Edit: No, in fact. But you get the idea.
By the way, is a theme gtk 3.0 creator available somewhere to make our own themes for Inkscape? That could be great (and useful).
-
Wrote this the day before yesterday already, but the forum didn't work at the time, hope it will now.
> A batch is possible?
- Yes, for every step, except the ID.
What you need for a uniform icon size, though, is an invisible square that is always of the same size, grouped with the icon.
And you need to use swatches for the colors.
You can automatically:
- select an object via Inkscape commandline (if you know its ID)
- then export that object to SVG (development version only, though), or invert the selection and delete everything else, then reselect object.
- use resize page to object (this is why you need the rectangle, to determine the page size) to adjust the size
- if using 0.92.x Save the file (unfortunately, you need to work on a copy, in 0.92, you cannot export part of the drawing to SVG)
- use a text editing tool like sed or awk to replace the swatch colors quickly in multiple files
As for themeing:
Only the master branch is gtk3, so Inkscape 0.93 will be using it.
Only parts of the user interface are - in the development version - adaptable currently.
Don't know how to best edit the gtkrc files... I'd use a text editor.
-
Thanks a lot for all explanations! :ur:
For the batch, never mind. I'm pretty sure that I be faster by doing the operations in hands. (my skills about that kind of stuff is not that great you know... 0:) )
But I note for sed or awk, I've just realized that I didn't change the metadata like the license (it's proprietary for now) and I have to change that, as many icons are just remakes of the originals and I want to share if someone is interested. So, having a program to change automatically the svg files would be appreciated... (and for the colors, too)
I don't know if you have contacts with the team, but having a "save as" that change automatically a big icons file to individual files, with the right metadata, cleaned of unused defs and so on, could help a lot for sharing icons to the community. And if I make change in some icons that share shapes/elements, it's easier to do the stuff inside a single file. Anyway, thanks a lot for your help! :2tu:
-
Done. Again. :yay:
The individual icons this time. For the last dev build (for windows) available. Changed few icons, and other will be corrected this week, because some strokes are too thin for my taste. As usual, few icons come from gtk and can't be changed. But new icons are ready. Other icons in \share\icons\hicolor\scalable don't seem to be used yet, I'll only draw them if futures versions will use them.
Again, I attached an example. :wave:
-
You've got one more icon than I do, in the main toolbox. What is that one on the bottom?
The icon for the Paint Bucket tool - geez. That's really different! Oh wait, I think I see. It is a bucket, but you see more what's coming out of the bucket, and the surface where it's going. For the widest possible appeal, I'd probably make it more bucket-like in appearance. Same for the Dropper tool. It looks a lot like a different kind of pen.
I can't really comment on the smaller ones, because I can't see them well enough. But the rest of the larger ones look good to me. No huge problems that I can see. Nice work!
I didn't follow the discussion about what's happening with 0.93. Will it offer different themes? Or are the changes only about icon handling?
-
You've got one more icon than I do, in the main toolbox. What is that one on the bottom?
A new tool that will allow to draw lines more accurate when you want to be //, perpendicular to another lines, things like that. That's why I draw a drawing-board-like and something drawn in "draftsman style". Not sure if I'm understandable here... :???:
Will it offer different themes? Or are the changes only about icon handling?
- I don't think so. But next release is made with gtk 3.0 and the theme is new, obviously.
- Yep, icon handling only.
The icon for the Paint Bucket tool - geez.
I have to rework it anyway. Not satisfied with it.
Same for the Dropper tool.
That's intended. I used a real dropper, and is a realistic one. But I can understand that it look ugly.
Nice work!
:bow1:
-
> but having a "save as" that change automatically a big icons file to individual files, with the right metadata, cleaned of unused defs and so on, could help a lot for sharing icons to the community.
- Yes, that sounds cool. There are extensions that export all objects to single files, one of them is actually pretty advanced. I only remembered it exists now that you talk about 'save as...'.
https://gitlab.com/su-v/inx-exportobjects/tree/master
Can you test what functionality is still missing?
-
> but having a "save as" that change automatically a big icons file to individual files, with the right metadata, cleaned of unused defs and so on, could help a lot for sharing icons to the community.
- Yes, that sounds cool. There are extensions that export all objects to single files, one of them is actually pretty advanced. I only remembered it exists now that you talk about 'save as...'.
https://gitlab.com/su-v/inx-exportobjects/tree/master
Can you test what functionality is still missing?
Ho, Thanks! I didn't know that this add-on existed. I may try it this week-end but I read the description and many things are messing, if I read well:
- The dimensions of the image is not recalculated for each icon, so problem.
- The defs, that are not saved. It's a problem if I want to share with a gpl license for example. And give my name for my ego. :-D
- Clean up the file.
Anyway I was thinking about that save_as yesterday and I think that it would be great to create our own "save_as" in a script file. Correct me if I'm wrong, but it seems that the API is scheduled, right? Everyone will need his own save_as for many reasons. So a script like this:
script=>save_as; #other tags: filter, macro, ...
extension=>svg; #jpg, tar, whatever, the file is automatically saved in the proper format.
Name=>"icon"; #The name displayed.
Options=>{...}; #tricky here...
new List list = getDocument().getLayer("Icons").getGroups(0); #0 is the rank of the groups. So sub groups are not counted in the list.
# we could also have this:
# new List layers = getDocument().getLayers();
# new List elements = layers(0).getObjects();
# new List groups;
# new int j;
# for int i=0 , i < elements.length() , i++
# {if elements[ i ].getType().isGroup() then groups[j++] = elements[ i ];} #my knowledge of Java is old...
new Group group;
new Svg svg;
for i=0, i < list.length(), i++
{
group = list[ i ];
svg = new Svg(group); #basic new svg object, with basic defs and metadatas, basic layer with the group in.
svg.clean_up();
svg.resize(); #no arguments, so it resizes to the size of the group.
svg.setMetadatas(getDocument().getMetadatas()); #I go fast here, but you get the idea.
svg.save_as(group.getID());
}
Easy, isn't it? >-D
And you could use the same language for macros, filters, plugs-ins...
I know that it's a long task, and maybe impossible, but that would be awesome, really. :D I know it's just a dream.
Edit: I know that you can already do this, in a sense. But it's not simple, for a basic plug-in you need 2 files or more, some py, some inx... A java-like language that can be done in notepad++, with all stuff in a single file... So good.
-
- The dimensions of the image is not recalculated for each icon, so problem.
- The defs, that are not saved. It's a problem if I want to share with a gpl license for example. And give my name for my ego. :-D
- Clean up the file.
Well, maybe you should try it out before you complain...
[ You are not allowed to view attachments ]
[ You are not allowed to view attachments ]
Cleaning up defs for all files can be done with a one-line script on the command line.
Extension files aren't going to change within the next years.
-
There is an option to write your extension in C++, if you want to. But you'd need to compile it, too, then.
-
- The dimensions of the image is not recalculated for each icon, so problem.
- The defs, that are not saved. It's a problem if I want to share with a gpl license for example. And give my name for my ego. :-D
- Clean up the file.
Well, maybe you should try it out before you complain...
Did you read me complaining?
As I wrote, I only watched the description, and didn't try the extension. :bow1:
There is an option to write your extension in C++, if you want to. But you'd need to compile it, too, then.
And that's the main problem. I'm not a programmer. And many user aren't.
Anyway, you seem to not be pleased about what I wrote here, that's OK. I finished the icons anyway. Too bad that this extension (that could help a lot) wasn't in the official depository (or I missed something), but don't worry, I won't complain anymore. :)
-
Did you read me complaining?
I read you were answering Moini's request:
Can you test what functionality is still missing?
Too bad that this extension (that could help a lot) wasn't in the official depository
There really isn't any official repository. There is a "repository" in the wiki, but it only contains a small fraction of all available extensions. (When it was first created, it probably had all the extensions at that time. But wasn't consistently updated over time.) I have it on my to-do list, to compile a list of all the extensions, with download links (similar to what I did with tutorials)(on the Home tab). So hopefully pretty soon it will float up to the top.
Meanwhile, there are 3 places you can look, which combined, probably contain all the known extensions.
-- http://wiki.inkscape.org/wiki/index.php/Inkscape_Extensions (it's a working list and is often edited - ulitmately we hope to move most of them to the website/gallery
-- the website/gallery - https://inkscape.org/en/gallery/=extension/
-- the wiki repository - http://wiki.inkscape.org/wiki/index.php/ExtensionsRepository
-
The description you read also contains info about the defs, not just my screenshots. It doesn't talk about page resizing, but that doesn't mean that it doesn't do page resizing. Nevermind, though. Sometimes, one just doesn't have time to try things out or to read things thoroughly before one talks about problems (=complains). I understand. It happens. To me, too. Frequently, even. But then I usually don't recoil at a request to try things out, that was phrased in a joking manner (at least, for me). Especially when the person who said that has only been helping me before.