W3C home > Mailing lists > Public > www-svg@w3.org > May 2012

Re: should we remove the kerning property in favour of font-kerning?

From: Dirk Schulze <dschulze@adobe.com>
Date: Wed, 30 May 2012 17:52:43 -0700
To: Cameron McCormack <cam@mcc.id.au>
CC: Nikolas Zimmermann <zimmermann@kde.org>, SVG public list <www-svg@w3.org>
Message-ID: <CED003A1-1558-497F-B60B-DC584ECE2FC8@adobe.com>

On May 30, 2012, at 5:45 PM, Cameron McCormack wrote:

> Dirk Schulze:
>> No, more like 'gradientTransform' attribute that sets the 'transform' property. So 'kerning' would be a presentation attribute for 'font-kerning'. You could set kerning by:
>> 
>> kerning="2"
>> 
>> or
>> 
>> style="font-kerning: 2px;"
>> 
>> 
>> If you specify both together, than the inline style overrides the attribute value:
>> 
>> kerning="2" style="font-kerning: 3px"
>> 
>> would be a kerning of 3px.
> 
> That's an option, though I think that if we are happy with removing 
> kerning then we should have the font-kerning presentation attribute 
> match the property name.
I just thought that we would not have to worry to much about backwards compatibility and existing content if we make 'kerning' a presentation attribute. And it shouldn't be to problematic to implement it in browsers.

Greetings,
Dirk
Received on Thursday, 31 May 2012 00:53:24 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:51 GMT