2024-10-18 11:14 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002878NetSurfRISC OS-specificpublic2024-06-21 16:39
ReporterClive Semmens 
Assigned To 
SeverityminorReproducibilityalways 
StatusnewResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0002878: Even/odd winding in SVG files rendered as NonZero
DescriptionHoles 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.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
URL of problem page
Attached Files

-Relationships
+Relationships

-Notes
Clive Semmens

~0002463

Clive Semmens (reporter)

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

~0002464

Clive Semmens (reporter)

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.
+Notes

-Issue History
Date Modified Username Field Change
2024-06-21 15:00 Clive Semmens New Issue
2024-06-21 15:00 Clive Semmens File Added: EvenOdd.zip
2024-06-21 16:37 Clive Semmens Note Added: 0002463
2024-06-21 16:39 Clive Semmens Note Added: 0002464
+Issue History