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

Printing ▼ to PDF breaks rendering

XMLWordPrintable

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

      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();

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes