View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0002878 | NetSurf | RISC OS-specific | public | 2024-06-21 14:00 | 2024-06-21 15:39 | ||||||||
Reporter | Clive Semmens | ||||||||||||
Assigned To | |||||||||||||
Severity | minor | Reproducibility | always | ||||||||||
Status | new | Resolution | open | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0002878: Even/odd winding in SVG files rendered as NonZero | ||||||||||||
Description | Holes in filled paths are rendered correctly only if the winding is NonZero - see the Drawfile in EvenOdd.zip and the exactly equivalent SVG file, which render correctly on other platforms, but differently from the Drawfile on NetSurf. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Fixed in CI build # | |||||||||||||
Reported in CI build # | |||||||||||||
URL of problem page | |||||||||||||
Attached Files |
|
Notes | |
Clive Semmens (reporter) 2024-06-21 15:37 |
I could have been clearer in the description. The Drawfile contains two paths, identical except that one has even/odd winding, and the other has nonzero winding. Since the outline and the path both wind in the same direction, the nonzero one should have a filled hole, but the even/odd one should have an unfilled hole. This shows correctly when NetSurf displays the Drawfile, but incorrectly when it displays the SVG version of it. It's not the conversion to SVG that's wrong - the SVG file displays correctly on other platforms. |
Clive Semmens (reporter) 2024-06-21 15:39 |
This has a major effect on Acorn fonts which often have to be converted to path to be exported as SVG for other platforms - Acorn fonts use even/odd winding, and the direction of winding of paths around holes is often pretty random. |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2024-06-21 14:00 | Clive Semmens | New Issue | |
2024-06-21 14:00 | Clive Semmens | File Added: EvenOdd.zip | |
2024-06-21 15:37 | Clive Semmens | Note Added: 0002463 | |
2024-06-21 15:39 | Clive Semmens | Note Added: 0002464 |