Export area is wrong with --export-id
Steps to reproduce:
- Export a svg to pdf, selecting only one object (by id) and using the dimensions of the page
- Either from the dialog box opened when saving a file to PDF format
- Or from the command line (example based on the minimal file I attach):
inkscape --export-id=rectangle --export-area-page --export-pdf=minimal.pdf file=minimal.svg
What happened?
The bounding box of the resulting PDF file is wrong (too large)
What should have happened?
In my example file, the PDF should consist simply in the red rectangle, without white space around it.
Inkscape Version and Operating System:
- Inkscape Version: 0.92.3 (2405546, 2018-03-11)
- Operating System: Linux Mint
- Operating System version: 19
Reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859573 (originally testing with 0.92.1)
Edited by Nathan Lee