You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Rohit Sarpotdar (JIRA)" <ji...@apache.org> on 2017/01/17 15:11:26 UTC

[jira] [Updated] (BATIK-1174) getDocumentSize returning wrong document size

     [ 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: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org