W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2008

Re: Normalizing a 'z' or 'Z' command

From: Charles McCathieNevile <chaals@opera.com>
Date: Wed, 07 May 2008 14:29:01 +0100
To: "Alex Danilo" <alex@abbra.com>, Erik Dahlström <ed@opera.com>
Cc: "SVG WG public" <public-svg-wg@w3.org>
Message-ID: <op.uasc2nrgwxe0ny@pc085.coreteam.oslo.opera.com>

Mr Danilo!

On Wed, 07 May 2008 12:45:08 +0100, Alex Danilo <alex@abbra.com> wrote:

> Erik said, inter alia...
>> The following two paths are not interpolable[4] if the lineto isn't  
>> added as a normalization step:
>>
>>   <path d="M0 0l10 10z"/>
>>   <path d="M0 0l10 10l-10 -10z"/>
>
> I wouldn't expect those to be interpolable.

As a mug author I would hope for those to be interpolable - they are the  
same line as far as I can tell. But if I discovered they weren't, I would  
live with it.

>> I would like the 1.2T spec to define how close commands should be
>> normalized.
>
> Yes that would be good, but the number of commands in each path
> syntax element should remain equal, the implementation should
> not synthesize extra ones IMO.

Hmmm. I think this really comes down to how painful it is to make this  
happen, in terms of its impact on implementations and so on. I would make  
it a "nice to have" feature. So, what is existing practice?

cheers

Chaals

-- 
Charles McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals   Try Opera 9.5: http://snapshot.opera.com
Received on Wednesday, 7 May 2008 13:30:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 May 2008 13:30:01 GMT