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

QTextDocument::printer() does not translate formfeed character

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.7.0, 5.4.2
    • Core: I/O
    • Ubuntu 15.04 32-bit with all patches applied as of this morning.

    Description

      Neither \f nor \u000C are respected as formfeed in QTextBrowser, especially with print(). This is incredibly easy to test in a VM with no printers defined so printing defaults to PDF file. Since nobody worked on this in version 4.7 attached is a completely self contained project. It even fills in the text for you. The only effort required to verify this bug is unzip the file, build the project, click print, then doubleclick on the PDF wherever you saved it.

      Attachments

        1. txtbrowser.zip
          4 kB
        2. readalltest.zip
          5 kB
        3. pdf_file.png
          pdf_file.png
          63 kB
        4. debug.png
          debug.png
          390 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            seasoned_geek Roland Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes