Bug 485557

Summary: Overlap bug in Krita
Product: [Applications] krita Reporter: emanuel.21052
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: ben, ginoba
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot showing the bug

Description emanuel.21052 2024-04-14 18:23:32 UTC
Created attachment 168519 [details]
Screenshot showing the bug

Hi, I'd like to report an overlap bug that occurs when using the bezier curve tool in Krita, the image I've uploaded shows a test I was doing with the tool when I noticed the bug
Comment 1 Deif Lou 2024-05-02 10:28:46 UTC
This is not a bug. Traditionally vector graphics have 2 ways of filling the shapes: one leaves holes (what krita does now) [https://en.wikipedia.org/wiki/Even%E2%80%93odd_rule] and the other fills everything [https://en.wikipedia.org/wiki/Nonzero-rule].

More info:
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule
https://stackoverflow.com/questions/46017839/how-does-fill-rule-evenodd-work-on-a-star-svg
https://www.sitepoint.com/understanding-svg-fill-rule-property/

I'll mark this as "not a bug". What you should do is opening a feature request in krita-artists, requesting the addition of an option to change the fill rule used by the shape.