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

QPdfWriter and cosmetic pens of width 0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.6
    • GUI: Printing
    • None
    • Linux/X11

    Description

      Starting with Qt 5.12 the handling of cosmetic pens with a width of 0 has changed.
      Attached you find the output of some PDF files being created with the bode example of the Qwt library ( qwt.sf.net ).

      Using a pen width of 1 is no equivalent workaround as it results in a document, where the line gets scaled ( becoming fat, when zooming in ) inside the PDF viewer ( using evince here ). So it seems, that the desired output is not doable since Qt 5.12.

      Actually I would like to be able to make pens with a width > 0 being cosmetic for the viewer like it is possible with Qt 5.11 and a width of 0. IIRC this was never possible with Qt, but is actually what someone needs, when analyzing a plot inside a PDF viewer.

      Attachments

        1. bode-Qt-5.11.pdf
          26 kB
        2. bode-Qt-5.14.pdf
          150 kB
        3. bode-Qt-5.14-width1.pdf
          151 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            uwe Uwe Rathmann
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes