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

Qt generated pdf shows extra line in dotted line in Adobe Reader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.6.3
    • 4.6.2
    • GUI: Text handling
    • None
    • 3e9f45c5d585aabb1964e3472211c5201661eca3

    Description

      The attached html file shows a dotted line in webkit. When export it into a pdf file using the following code, the file shows an extra line in Adobe reader.
      (It doesn't show this line in Evince or Foxit reader.)

      QPrinter printer;
      printer.setOutputFormat(QPrinter::PdfFormat);
      printer.setOutputFileName("./output.pdf");
      mainFrame()->print(&printer);

      Attachments

        1. dotted_border.html
          0.4 kB
        2. dottedline.jpg
          dottedline.jpg
          18 kB
        3. dottedline-evince.jpg
          dottedline-evince.jpg
          13 kB
        4. output.pdf
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kjernase Trond Kjernåsen (Inactive)
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes