Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | svg problems with viewport, viewBox and preserveAspectRatio | ||||||
---|---|---|---|---|---|---|---|
Product: | Draw | Reporter: | Regina Henschel <rb.henschel> | ||||
Component: | open-import | Assignee: | Armin Le Grand <Armin.Le.Grand> | ||||
Status: | CLOSED FIXED | QA Contact: | |||||
Severity: | Normal | ||||||
Priority: | P5 (lowest) | CC: | Armin.Le.Grand, issues, louqingle | ||||
Version: | recent-trunk | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
Regina Henschel
2012-01-14 23:23:36 UTC
ALG: Happens as described, taking over. 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... ALG: Okay, looks good. Adding. Comitted, done. expected behaivor, no change. |