Could it be possible to render the icons to pixbuf in runtime instead of read 
them from the png? that would allow very easy to make customizable icons size 
form the user interface, just re-reading the source files .sif and rendering 
them to memory with the selected size.

And regarding to the design of the icon in a non 24x24 canvas. Why don't just 
make the canvas 240x240 and multiply all the magnitudes by ten? ;)

In Synfig there are fixed and scalable by theme icons mixed. All the icons that 
are based on a stock icon name size are rendered with the same size, regardless 
the size of the desktop theme (for instance, most of the dial widgets) There 
are 
othere that uses a integer number to specify the size (the ones that are in the 
toolbox) so the theme cannot resize them.

I would like to do some tests with Gimp and Inkscape to see how do they react 
with a theme change.

In any case a icon policy is absolutely needed.
Greetings



________________________________
De: Yu Chen <[email protected]>
Para: [email protected]
Enviado: jue,21 octubre, 2010 17:40
Asunto: Re: [Synfig-devl] Carlos Lopez : Do not resize png images. Let the 
system do it. Result is sharper in all cases.


I have two thoughts about icons:

1)inverted high contrast big theme uses the 36x36 as its default icon size, 
also 
it is the mini size.
so if this theme is used, synfig studio use 36x36 as well, that means 24x24 is 
enlarged into 36x36, and the blurred result comes up.

it seems that each app controls it icons in its own way. 

Inkscape, (almost) all icons are drawn in a single svg files, and using 
metadata 
to define icon names. and load these icons accordingly. 

Gimp, all icons are complied, so there is not png files (source files). and 
actually its default size is 22x22.

A std gnome app, eog for example, there are different icon size provided using 
file system, each size has it own folder named by size.

Importance is that inkscape and gimp control their own icon size in their own 
way. and desktop theme can not overwrite their icons controlling. it is a good 
thing for a non-desktop specified app development,  it makes icon design, user 
interface design simple and easier. 

maybe the gimp way is nice for us, render sif into png and then complied , and 
provide a gtkrc file for those people who would like to customize their ui .  


2)
The point is not the target size of png files here. In most cases, 24x24(and 
16x16) is the size of Synfig Studio, so it will make icon design task easier if 
we draw icon in a 24x24px canvas :)
 


-- 

Yu



      
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to