Crash on saving to WMF
Steps to reproduce:
- Open Inkscape
- File -> Document Properties -> Custom Size
- Resize blank document to have at least one edge >= 27.4 Inches (Really, >= 32767/1200 Inches)
- File -> Save as (File type WMF)
What happened?
- Inkscape crashes with:
** (inkscape:21589): ERROR **: 11:20:33.193: Fatal programming error in PrintWmf::begin at WMRSETMAPMODE
- And empty (zero size) WMF file is produced
What should have happened?
- A user friendly error message should be produced stating that the image is too large for WMF
- The error message produced should say
s/WMRSETMAPMODE/WMFHEADER/
.
Inkscape Version and Operating System:
- Inkscape Version: Both "1.0alpha (fa988572, 2019-02-02)" and Debian "0.92.4 (5da689c313, 2019-01-14)" are affected
- Operating System: Debian GNU/Linux
- Operating System version: Testing
- Behavior confirmed by alvinpenner on Windows 10, Inkscape 0.92.4 (5da689c313, 2019-01-14)
Edited by Bryce Harrington