Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38675

QPdfWriter transforms svg path strokes incorrectly when an opacity is set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.3.0 Beta1
    • GUI: Printing
    • None
    • Linux, Qt 5.3 git, gcc 4.7.3

    Description

      When an opacity is set on the painter writing to a QPdfWriter, the svg renderer renders path fill correctly, but the path stroke is incorrectly placed (transformed outside the rendered rectangle)

      Without the opacity set, everything is correct.

      Attachments

        1. main.cpp
          0.6 kB
        2. qpdf.cpp.patch
          0.3 kB
        3. svg1.pdf
          2 kB
        4. svg2.pdf
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            johnlayt John Layt
            pniekamp Peter Niekamp
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes