Conversion SVG to Latex with mask

Bug #1810641 reported by Trad Run
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

The following SVG shows a set intersection A-B where A is on the left.

In Chrome the picture is correct.
If I export to Latex via Inkscape some gradient is added.

<?xml version="1.0" encoding="utf-8" ?>
<svg baseProfile="full" height="3.2cm" version="1.1" viewBox="0 0 5 3.2" width="5.0cm" xmlns="http://www.w3.org/2000/svg" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><mask id="m1"><g><circle cx="2" cy="1.6" fill="white" r="1.5" /><circle cx="3" cy="1.6" fill="black" r="1.5" /></g></mask></defs><pattern height="0.14142135623730953" id="3" patternUnits="userSpaceOnUse" width="0.14142135623730953"><path d="M -0.07071067811865477,0.07071067811865477 l 0.14142135623730953,-0.14142135623730953 M -0.07071067811865477,0.21213203435596428 l 0.28284271247461906,-0.28284271247461906 M 0.07071067811865477,0.21213203435596428 l 0.14142135623730953,-0.14142135623730953" style="stroke:black; stroke-width:0.02" /></pattern><circle cx="2" cy="1.6" fill="url(#3)" mask="url(#m1)" r="1.5" stroke="black" stroke-width="0.04" /><circle cx="2" cy="1.6" fill="none" r="1.5" stroke="black" stroke-width="0.04" /><circle cx="3" cy="1.6" fill="none" r="1.5" stroke="black" stroke-width="0.04" /></svg>

I use Fedora with
Inkscape 0.92.3 (2405546, 2018-03-11)

Revision history for this message
Trad Run (tradrunust) wrote :
Revision history for this message
Trad Run (tradrunust) wrote :

The result in Latex after using
subprocess.call(['inkscape', '-C', '-z', '--file='+f+'.svg', '--export-pdf='+f+'.pdf', '--export-latex'])

Revision history for this message
Alvin Penner (apenner) wrote :

reproduced on Windows 10, Inkscape 0.92.3 (2405546, 2018-03-11)

using the command:
inkscape --file=\windows\temp\SetDiff.svg --export-pdf=\windows\temp\SetDiff2.pdf

pdf result is attached

Tamir Bahar (tmr232)
tags: added: bug-migration
Revision history for this message
Tamir Bahar (tmr232) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new
bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/issues/335
Closed by: https://gitlab.com/tmr232

Changed in inkscape:
status: New → Invalid
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.