incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 118784] svg problems with viewport, viewBox and preserveAspectRatio
Date Mon, 16 Jan 2012 15:28:47 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=118784

--- Comment #2 from Armin Le Grand <Armin.Le.Grand@me.com> 2012-01-16 15:28:47 UTC ---
ALG. In principle all these mappings are in place already in
SvgSvgNode::decomposeSvgNode when the SVg node is the outmost one. There
already was adding a clip primitive when the content was bigger than the SVG
initial coordinate system. The SdrObject (Graphic object) which will contain
the SVg content creates a mapping to map the Svg content to it's own coodinate
system (since the SDrObject is the defining object which also gets manipulated
later). What was missing is to add extra geometry data to force the B2DRange of
the Svg content to be exactly equal to the Svg initial coordinate system when
all content is inside of it.

ALG Added this, looks as expected. Taking some more tests...

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message