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

linear-gradient renders incorrect in PDF

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: SVG Rasterizer
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC

      Description

      Hi,

      I'm using Batik to export fusioncharts graphs to PDF files. These graphs use a gradient to fill the bars.

      When exporting to PDF, these charts are nearly illegible because the bars become almost transparent. Exporting to JPEG or PNG works correctly.

      I've attached some demo SVG code as well as the results in PDG and PNG.

      These files have been generated using today's dev snapshot.

        Attachments

        1. test.svg
          17 kB
          Tim DG
        2. test.pdf
          30 kB
          Tim DG
        3. test.png
          26 kB
          Tim DG
        4. chart.pdf
          13 kB
          Jan Tošovský

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              beetle.kevertje+apache@gmail.com Tim DG
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: