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

Printing ▼ to PDF breaks rendering

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.11.2
    • Component/s: GUI: Printing
    • Labels:
      None
    • Environment:
      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

              Assignee:
              sletta Gunnar Sletta
              Reporter:
              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