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. debug.png
          debug.png
          390 kB
        2. pdf_file.png
          pdf_file.png
          63 kB
        3. readalltest.zip
          5 kB
        4. txtbrowser.zip
          4 kB

        Activity

          People

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

            Dates

              Created:
              Updated: