[#12811] - HTML export ZoomRatio not scaling SVG elements

Category:
Bug report
Priority:
Normal
Status:
Confirmed
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

When using the HTMLExporter and setting SimpleHtmlReportConfiguration.setZoomRatio(1.25f), the page size is increased, but the graphical rectangular element stays the same size.

JRXML:
<line>
<reportElement x="-1" y="78" width="560" height="1" uuid="276f0e8f-a0df-4f6b-8cd5-13d0b8eb711f">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.x" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
</reportElement>
<graphicElement>
<pen lineWidth="1.5"/>
</graphicElement>
</line>

HTML:
<tr style="height:35px" valign="top">
<td>
<svg height="35" width="565">
<rect x="1.0" y="1.0" rx="10" ry="10" height="33.0" width="563.0" style="fill:#FFFFFF;stroke:#537F56;stroke-width:2.0;">
</rect>
</svg>
</td>
</tr>

Thanks,
Rob

v6.12
jasper library
robnewton's picture
Joined: Apr 18 2012 - 4:38am
Last seen: 1 month 1 week ago

3 Comments:

#1
AttachmentSize
Image icon zoomfactorsvg-issue.png19.41 KB
#2
AttachmentSize
Binary Data growerraildelivrpt.jrxml48.33 KB
#3
  • Status:New» Confirmed
Feedback