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

Printing ▼ to PDF breaks rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.2
    • 5.8.0
    • GUI: Printing
    • None
    • Win7

    Description

      Printing certain characters to PDF breaks rendering, see the following example.

      QPdfWriter Printer("C:/tmp/pdf.pdf");
      QPainter Painter;
      Printer.setPageSize(QPagedPaintDevice::A4);
      Printer.setResolution(96);
      Painter.begin(&Printer);
      Painter.drawText(10,10, QString::fromStdString("\xe2\x96\xb2 down arrow does not work"));
      Painter.drawText(10,10, QString::fromStdString("works only when previous line is commented"));
      Painter.end();

      Attachments

        Issue Links

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

          Activity

            People

              sletta Gunnar Sletta
              mvthomas Thomas L
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes