[PATCH] SVG import: keep aspect ratio when transforming viewbox to viewport

Chr. Rossmanith ChrRossmanith at gmx.de
Thu Mar 22 02:39:06 PDT 2012


At the moment I'm looking at positioning and sizing of text. But I need 
some help where to start. Font size is parsed correctly, transformed 
from pt into mm but rendered with the mm size in pt: a 20pt font is 7mm 
and is displayed as 7pt. Maybe I should file a bug with a small example 
graphic.

Christina

Am 22.03.2012 06:49, schrieb Fridrich Strba:
> Thanks, Christina, for this one. Pushed it. In case you want to fix some
> more SVG import bugs, I spoke with someone who did some stess-testing :)
>
> Fridrich
>
> On 17/03/12 22:14, Chr. Rossmanith wrote:
>> Hi,
>>
>> bug 47451 has a test doc (svg) attached which isn't imported correctly
>> by LibreOffice. One problem is that the aspect ratio is changed because
>> the viewbox is zoomed to be of identical size as the viewport. I've
>> changed the zoom to be the same for width and height.
>>
>> Christina
>>
>>
>>
>> _______________________________________________
>> LibreOffice mailing list
>> LibreOffice at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libreoffice
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice



More information about the LibreOffice mailing list