W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2010

RE: 1.1 2nd edition last call comment : fill-rule on text elements

From: Leonard Rosenthol <lrosenth@adobe.com>
Date: Wed, 11 Aug 2010 18:49:41 -0700
To: "'anthony.grasso@cisra.canon.com.au'" <anthony.grasso@cisra.canon.com.au>, Alex Danilo <alex@abbra.com>
CC: Cameron McCormack <cam@mcc.id.au>, Patrick Dengler <patd@microsoft.com>, SVG Working Group WG <public-svg-wg@w3.org>
Message-ID: <D23D6B9E57D654429A9AB6918CACEAA97D22B41111@NAMBX02.corp.adobe.com>
For PDF (and Postscript and, FWIW, Microsoft's XPS) though, fill rule is a Graphic State attribute and NOT a Text State attribute - which is why I said that having it on the <g> in SVG would be the closest thing.  

It's been this way since 1.0 and probably shouldn’t change for that reason alone....

Leonard

-----Original Message-----
From: Anthony Grasso [mailto:anthony.grasso@cisra.canon.com.au] 
Sent: Wednesday, August 11, 2010 9:46 PM
To: Alex Danilo
Cc: Leonard Rosenthol; Cameron McCormack; Patrick Dengler; SVG Working Group WG
Subject: Re: 1.1 2nd edition last call comment : fill-rule on text elements

In addition to what Alex said, for Type3 fonts (i.e. glyphs that are defined in 
PDF), the fill rule can be specified when constructing the paths in the glyph 
definition.

Alex Danilo wrote:
> Leonard,
> 
> 	The example Cameron pointed at displays the correct thing
> in Adobe ASV3.
> 
> 	There is pretty clear precedent here in your own company's
> products, not to mention the excellent reasoning by Cameron.
> 
> Alex
> 
> --Original Message--:
>> But couldn't you achieve the same thing by putting the fill-rule on a <g> instead of the <text>?
>>
>> -----Original Message-----
>> From: public-svg-wg-request@w3.org [mailto:public-svg-wg-request@w3.org] On Behalf Of Alex Danilo
>> Sent: Wednesday, August 11, 2010 8:11 PM
>> To: Cameron McCormack
>> Cc: Patrick Dengler; SVG Working Group WG
>> Subject: Re: 1.1 2nd edition last call comment : fill-rule on text elements
>>
>> +1.
>>
>> For the record they render differently in Vidualize as well (i.e. as they should).
>>
>> Alex
>>
>> --Original Message--:
>>> Patrick Dengler:
>>>> We don't believe fill-rule belongs on text elements.
>>>>
>>>> http://dev.w3.org/SVG/profiles/1.1F2/publish/painting.html#FillProperties

>>>>
>>>> We cannot think of a scenario where this would apply to text.
>>>>
>>>> We would like to make this minor adjustment to the spec (remove
>>>> application to text) unless we are missing something.
>>> It applies in the case of SVG Fonts, where complex glyphs inherit
>>> properties from the text content element that references them.  The two
>>> <text> elements in http://mcc.id.au/2010/text-fill-rule.svg render
>>> differently in Batik.
>>>
>>> -- 
>>> Cameron McCormack ≝ http://mcc.id.au/

>>>
>>>
>>
>>
>>
>>
> 
> 
Received on Thursday, 12 August 2010 01:50:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:12 UTC