implement clip-rule:evenodd

Bug #171243 reported by Rwst
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Krzysztof Kosinski
inkscape (Debian)
Fix Released
Unknown
inkscape (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

this was posted to the bug tracker but moved here:

I got a warning opening svg file with inkscape 0.43 on
linux:

** (inkscape:6127): WARNING **: Unimplemented style
property SP_PROP_CLIP_RULE: value: evenodd

The svg file is attached. The svg header, containing
the property is the following:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Creator: CorelDRAW -->
<svg xmlns="http://www.w3.org/2000/svg"
xml:space="preserve" width="210mm" height="297mm"
style="shape-rendering:geometricPrecision;
text-rendering:geometricPrecision;
image-rendering:optimizeQuality; fill-rule:evenodd;
clip-rule:evenodd"
viewBox="0 0 210 297"
xmlns:xlink="http://www.w3.org/1999/xlink">

Best regards,
Grigory Rubtsov

Related branches

Revision history for this message
Rwst (rwst) wrote : implement cliprule:evenodd
Revision history for this message
Hystrix (hystrix-) wrote :

Thank you for taking your time to report this.
I'm opening the file with Inkscape 0.45.1, built Mar 21 2007 and can't see any error or warning, could you please check if you still get this warning with the lastest Inkscape version and report back?

Changed in inkscape:
importance: Undecided → Low
status: New → Triaged
Tom Davidson (tjd-mit)
Changed in inkscape:
status: Triaged → Incomplete
Revision history for this message
ScislaC (scislac) wrote :

Confirmed on SVN rev 19754.

Changed in inkscape:
status: Incomplete → Confirmed
Changed in inkscape (Ubuntu):
status: New → Confirmed
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Still present in Inkscape 0.48

Changed in inkscape (Ubuntu):
importance: Undecided → Low
Changed in inkscape:
status: Confirmed → Triaged
Changed in inkscape (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Gökçen Eraslan (gkcn) wrote :

I also see the warning below:

WARNING **: Unimplemented style property SP_PROP_CLIP_RULE: value: nonzero

in inkscape 0.47.

Changed in inkscape (Debian):
status: Unknown → Confirmed
summary: - implement cliprule:evenodd
+ implement clip-rule:evenodd
tags: added: clipping svg
removed: svg-xml
Revision history for this message
su_v (suv-lp) wrote :

Related:
Bug #564080 “clip-path render bug, ignores clip-rule="evenodd"
<https://bugs.launchpad.net/inkscape/+bug/564080>

Revision history for this message
Andy Lutomirski (luto-mit) wrote :

I've attached a patch that implements loading, saving, and computing of clip-rule. It doesn't address rendering or the UI, but at least we won't destroy otherwise-correct clip-rule styles now.

tags: added: patch
Changed in inkscape:
assignee: nobody → Krzysztof Kosinski (tweenk)
tags: added: patch-forwarded-upstream
removed: patch
Revision history for this message
Krzysztof Kosinski (tweenk) wrote :

This has been fixed for some time now in the trunk.

Changed in inkscape:
milestone: none → 0.49
status: Triaged → Fix Committed
Changed in inkscape:
status: Fix Committed → Fix Released
Changed in inkscape (Debian):
status: Confirmed → Fix Released
Changed in inkscape (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.