SVG: scaling if no width/height is given

Christina Roßmanith ChrRossmanith at gmx.de
Tue Jun 18 12:09:15 PDT 2013


Hi,

the problem described here -> 
https://bugs.freedesktop.org/show_bug.cgi?id=64125 is caused by a 
missing width and height attribute of the SVG given as an example. So, 
what would we expect given a ViewBox attribute when importing a graphic?

What I'd expect is that the aspect ratio is kept and a reasonable 
scaling is applied in order to fill a page, table cell or whatever. And 
that the little green squares (handles?) behave like a bounding box for 
the graphic content. Is that correct?

What I've achieved so far is the correct scaling. What I'm looking for 
is where the total size of the graphic is still determined wrong (see 
attached screenshot) -> little green squares are more like DIN A4 than 
the ViewBox size.

Christina
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bug_SVG.png
Type: image/png
Size: 14457 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130618/c2419c5d/attachment.png>


More information about the LibreOffice mailing list