EMF export glitch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
David Mathog |
Bug Description
I am using Inkscape 0.48.4 on Windows 7 to convert a matplotlib figure saved to SVG into EMF for usage in Powerpoint 2013 (matplotlib doesn't do this natively.) The matplotlib figure contains a line which goes out of the visible axes limits. The saved SVG figure successfully hides the portion of the line outside the axes, but the EMF converted shows the line running off the axes to the outer border of the figure. I can't say if this is an Inkscape bug or an EMF limitation, but I hope you can tell me!
To reproduce from cmd.exe:
> "C:\Program Files\Inkscape-
> mspaint test.emf
or open it in powerpoint, if you have it. I have attached the offending file.
tags: | added: emf exporting |
tags: | added: clipping |
Changed in inkscape: | |
assignee: | nobody → David Mathog (mathog) |
importance: | Undecided → Medium |
milestone: | none → 0.92 |
status: | New → In Progress |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Output of clipped regions to EMF with current stable Inkscape on Windows is already tracked in this earlier report: /bugs.launchpad .net/inkscape/ +bug/649744>
- Bug #649744 “emf wmf export clipping path issue”
<https:/
(“(…), and export to EMF completely ignores the clipping path.”)
Inkscape trunk (and 0.91pre3) has new EMF/WMF input and output (cross-platform, no longer limited to Windows builds). Clipping support for the new EMF input/output feature is tracked in this earlier report: /bugs.launchpad .net/inkscape/ +bug/1302857>
- Bug #1302857 “EMF, improved clipping support”
<https:/
(“The support for clipping on EMF input was always rudimentary, and support on output was completely absent.”)
Since the reporter did not provide the EMF file created on Windows with current stable 0.48.4 [1], I can't compare the old EMF export (Windows only) to the current state wrt to clipping (EMF export e.g. on OS X). However, opening the EMF file exported with 0.91+devel r13822 (OS X 10.7.5) in Inkscape again shows visually correct clipping of the red line, whereas opening the same exported EMF file e.g. in LibreOffice 4.3.4 and 4.3.5 does not (in LO the red line at the top extends to border of the image). The visual result seems to also depend on the features supported by the EMF viewer (?).
--
[1] Note: latest stable release is 0.48.5 (bug-fixes only)