Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1209

WMFTranscoder writes wrong stroke-width

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.13
    • None
    • Utilities

    Description

      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:

          <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>
      

      If I remove the "stroke-width" attribute, the line appears at its normal thickness.

      Attachments

        1. batik-width.patch
          0.8 kB
          Damjan Jovanovic
        2. line.odg
          8 kB
          Damjan Jovanovic
        3. line.svg
          1 kB
          Damjan Jovanovic
        4. line.wmf
          0.8 kB
          Damjan Jovanovic

        Activity

          People

            Unassigned Unassigned
            damjan Damjan Jovanovic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: