Concerning the library: I don't think we can use batik since
we want to include SVG support in the applet, and SVG Salamander is
smaller (and probably faster). We'll see whether it is fast enough
on some older machines
"SVG Salamander is an SVG engine for Java that's designed to be small,
fast, and allow programmers to use it with a minimum of fuss. It's in
particular targeted for making it easy to integrate SVG into Java games
and making it much easier for artists to design 2D game content - from
rich interactive menus to charts and graphcs to complex animations."
Maybe we want to make SVG icons optional (i.e. fall back to PNGs) so
that PNG icons can be used on older machines?
1. icon size for SVG icons should be expressed in points. The factor between pixels and points is
available as UITools.FONT_SCALE_FACTOR
2. (SVG) icon sizes should be made configurable. I am currently not sure if icon size should be
configured for each occurrence of icon in a node or as node property so that all icons at node have
the same size. In the last case icon size could be also defined by style. Therefore I would rather
> the next steps could be IMHO
> 1. icon size for SVG icons should be expressed in points. The factor
> between pixels and points is
> available as UITools.FONT_SCALE_FACTOR
> 2. (SVG) icon sizes should be made configurable. I am currently not sure if
> icon size should be
> configured for each occurrence of icon in a node or as node property so
> that all icons at node have
> the same size. In the last case icon size could be also defined by style.
> Therefore I would rather
> suggest this.
I also think that the second option is better - you don't want to mix
smaller and larger icons in a single node.
So you're suggesting to add "Icon size" to the properties panel
(could be applied to PNG icons as well, it will just look ugly)?