Comment 14 for bug 594930

Revision history for this message
Louis Simard (louis-simard-deactivatedaccount) wrote :

Since this bug was about the rendering specifically, I'll mark this as Fix Committed.

I added 2 unit tests for <switch><g>, one to make sure it doesn't get collapsed and another to make sure that it won't even get collapsed if --enable-id-stripping is set and the <g>'s ID name is unused.

Duke now renders correctly, and in fact the fix restored the blue roof in fulltests/apartment.svg as well. The Duke file is smaller than yours, meaning that the 162 clip-rules and fill-rules were put into the <g>. I don't know if it's a fluke related to the file, or if it's the result of moveCommonAttributesToParentGroup.