deeplook / svglib

Read SVG files and convert them to other formats.
GNU Lesser General Public License v3.0
315 stars 80 forks source link

extract labels #224

Closed revesansparole closed 3 years ago

revesansparole commented 4 years ago

This merge request to allow svg2rlg tools to preserve the label of groups (used by inkscape as layers)

deeplook commented 4 years ago

Thanks! I'm fine with this if you provide a test case as well.

revesansparole commented 4 years ago

I added three simple tests. Please tell me if they match your criteria.

claudep commented 4 years ago

Could you explain somewhere (comment in the code/test or commit message) what advantage we get by preserving ids and labels?

PancakeFriday commented 3 years ago

I'm looking for this feature as I want to extract specific SVG layers from an SVG file. Is this going to get merged (only asking since there has been no change since February).

claudep commented 3 years ago

Thanks, I squashed and removed formatting changes in #258.