[jira] [Updated] (BATIK-1209) WMFTranscoder writes wrong stroke-width

"Damjan Jovanovic (JIRA)" <[email protected]>
Newsgroups gmane.text.xml.batik.devel
Message-ID <[email protected]>
     [ https://issues.apache.org/jira/browse/BATIK-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Damjan Jovanovic updated BATIK-1209:
------------------------------------
    Attachment: batik-width.patch

This patch seems to fix the width in this example and several others, but I am not sure why it works or whether it's correct.

> WMFTranscoder writes wrong stroke-width
> ---------------------------------------
>
>                 Key: BATIK-1209
>                 URL: https://issues.apache.org/jira/browse/BATIK-1209
>             Project: Batik
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: trunk
>            Reporter: Damjan Jovanovic
>         Attachments: batik-width.patch, line.odg, line.svg, line.wmf
>
>
> In OpenOffice Draw, draw a single horizontal black line with the default width (0.5).
> File -> Export -> WMF.
> Run the resulting WMF through WMFTranscoder.
> In the resulting SVG there is an extremely small stroke width (0.0378) that makes the line invisibly thin when opened in OpenOffice and in Firefox:
> {code:xml}
>     <g font-size="0px" stroke-width="0.0378" stroke-linecap="butt" stroke-linejoin="round">
>       <path fill="none" d="M90.2173 112.8945 L420.6992 112.8945"/>
>     </g>
> {code}
> If I remove the "stroke-width" attribute, the line appears at its normal thickness.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.