I am working on a songbook using DIN A5 page size. When opening the exported SVG-file in Inkscape it indicates a smaller page size than DIN A5. How come?
(I am aware of the fact that SVG is lossless scalable.)
I am working on a songbook using DIN A5 page size. When opening the exported SVG-file in Inkscape it indicates a smaller page size than DIN A5. How come?
(I am aware of the fact that SVG is lossless scalable.)
Can you supply an example SVG file?
DIN A5 sample.zip (12,8 KB)
Yes, sure.
The SVG file defines the bounding area of the objects,
<svg width="110.86mm" height="157.162mm"
and a “view box”, which is about A5.
viewBox="0 0 419 594"
It might depend on what Inkscape expects from an SVG for its page size.
Any reason you’re not using PDF? It’s a much more reliable format.
Thanks for the explanation @benwiggy. This was very helpful.
The reason why I am not using PDF in this case is that the files will be processed in a different DTP software.
Any DTP software should be able to use PDFs as image files on a page.
Unless you’re actually post-processing the SVG code in some way, e.g. search and replace of some XML code tags for some reason, then PDF should be much more reliable.