[
https://issues.apache.org/jira/browse/BATIK-1174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohit Sarpotdar updated BATIK-1174:
-----------------------------------
Environment: Red hat Enterprise Linux 6.8, oracle java 8v101 (was: Red hat
Enterprise Linux 6.8, oracle java 8)
> getDocumentSize returning wrong document size
> ---------------------------------------------
>
> Key: BATIK-1174
> URL: https://issues.apache.org/jira/browse/BATIK-1174
> Project: Batik
> Issue Type: Bug
> Components: Bridge
> Affects Versions: 1.7, 1.8, 1.7.1
> Environment: Red hat Enterprise Linux 6.8, oracle java 8v101
> Reporter: Rohit Sarpotdar
> Attachments: batik-example.zip
>
>
> Building svg document with roughly below code gives wrong document size on 4K
> screen. Code and svg is attached as a zip file.
> SVG is of size 64x64. But getDocumentSize is returning 68x68.
> My primary analysis is as following:
> There is comment found in the code ->
> // <!> FIXME: hack to compute the original document's size
> It seems, getting the original document's size is still to be fixed.
> Reference on github :
> https://github.com/apache/batik/blob/batik-1_7/sources/org/apache/batik/bridge/SVGSVGElementBridge.java
> - Line 166
> https://github.com/apache/batik/blob/batik-1_8/sources/org/apache/batik/bridge/SVGSVGElementBridge.java
> - Line 167
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]