Re: [svgwg] fill-rule Could Use Some Clarification (#344)

@AmeliaBR 

>We need to decide which one it is (probably by testing current SVG implementations to see what they are doing), and we definitely need some tests to match.

It's pretty hard to force, but looks like at least Inkscape has some problems with that.

```xml
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" font-family="Arial" font-size="64">
    <text x="40" y="100" fill-rule="evenodd">مرحبا</text>
    <rect id="frame" x="1" y="1" width="198" height="198" fill="none" stroke="black"/>
</svg>
```

![e-text-040](https://user-images.githubusercontent.com/725494/54433912-ae9eeb00-4735-11e9-8432-4296656c9072.png)

Another example:

```xml
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" font-family="Arial" font-size="64">
    <text x="40" y="100" fill-rule="evenodd" letter-spacing="-20">Text</text>
    <rect id="frame" x="1" y="1" width="198" height="198" fill="none" stroke="black"/>
</svg>
```

![e-text-041](https://user-images.githubusercontent.com/725494/54434258-819f0800-4736-11e9-9377-007d33db3dd0.png)

But not everyone supports `letter-spacing`.

A negative `dx` works fine in the Inkscape case, probably because it draws each character separately.

-- 
GitHub Notification of comment by RazrFalcon
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/344#issuecomment-473284573 using your GitHub account

Received on Friday, 15 March 2019 13:27:33 UTC