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

Printing QTextDocument text does not wrap and only 1 page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.2.0
    • GUI: Printing
    • None
    • Windows8, msvc2012 (compiled via vs2013 UI); Qt msvc2012 binaries; Print to MS XPS Document Writer or a proper printer.

      Printing text from a QTextEdit which wraps nicely to maybe 3 lines in the screen widget, only the start of the line appears when printed, on 1 line, as if no wrapping is taking place.

      Also only 1 page is printed, when the content really takes up about 1.5 pages.

      The printout appears to be a clipped version of what would be rendered to a huge page.

      The same code works as expected in 5.1.0

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            johnlayt John Layt
            tim@vaquita.co.uk Timothy Pitt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes