
On 2014-03-13 15:35 +0100, Krzysztof Kosiński wrote:
2014-03-13 10:32 GMT+01:00 su_v <suv-sf@...58...>:
revno: 13144 fixes bug: https://launchpad.net/bugs/170356 committer: Krzysztof Kosiński <tweenk.pl@...400...> branch nick: trunk timestamp: Thu 2014-03-13 05:45:38 +0100 message: Provide a toggle in the document properties to optionally turn off antialiasing for display and export. Fixes a nearly 10 year old bug #170356
Questions related to rev 13144 (just curious):
a) Why not implement such a feature based on existing SVG 1.1 rendering instructions (instead of a custom inkscape attribute of <namedview>)? Ideally, the user could then optionally apply this to individual objects (which may trigger bug #170356 if the objects' edges are adjacent), to groups or layers, or to the document itself, and the same effect may even be supported in other SVG renderers?
AFAIU to disable antialiasing globally, these attributes could be added to top-level <svg> element: shape-rendering="crispEdges" text-rendering="optimizeSpeed"
Oops, I forgot about those properties. This is a better idea, but here's a question: should the UI remain the same (toggle in doc properties) or should there be some additional UI to set it on specific elements? Where should I put it - in object properties?
Personally, I would favour having it available both on object level (object properties dialog), and as document setting.
If inheritance is honored, this would also allow to e.g. set the document to not use antialiasing, but still override it for individual objects (to use antialiasing)?
I'm not sure whether this one too: image-rendering="optimizeSpeed"
This is for setting 'nearest' sampling on bitmaps.
I know - I was unsure what users would expect if a global 'do not use antialiasing' is set in the document properties (blocky rendering vs smooth).
Cheers, V