
On Thu, 10 Feb 2005 17:44:56 -0600, Edward Flick <eddy@...690...> wrote:
Hey guys, I'm altering SPImage to support the 'preserveAspectRatio' attribute as per the SVG spec for raster images (although when its set to 'slice' it will assume 'overflow' is set to hidden). I should finish with this tomorrow (hopefully). Does this sound like something that you guys would be interested in integrated into Inkscape CVS?
If it's support for reading and rendering, sure. We want to be compliant to the standard.
If it's support for setting it via the UI, then I'm not so sure. I think it's one of the many provisions in the standard which really only make sense for manual authoring of SVG. That is, when you _write_ your SVG, you use this attribute to indicate your _intention_ which the renderer will obey according to the rules. However when you simply _draw_ your SVG, you don't need to indicate any intentions. You can just scale and clip your graphic exactly as you want it, interactively. Adding UI for setting "semantic" attributes like this one will make the interface quite messy and unpredictable, especially for novices. E.g. we will be buried by bug reports like "can't squeeze the image" from people who inadvertently set this attribute to uniform scaling only.
So, I would prefer that Inkscape could read and correctly render SVGs with this attribute, but not set it.