Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.6.2
-
None
-
all platforms
Description
The following code will produce a pdf file where the yellow line is contoured by a grey frame:
#include <QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); QPixmap pixmap(200, 100); pixmap.fill(Qt::transparent); QPainter pixPainter(&pixmap); QPen pen(Qt::yellow); pen.setWidth(5); pixPainter.setPen(pen); pixPainter.drawLine(10, 10, 100, 10); pixmap.save("pixmap.png"); QPrinter printer; printer.setOutputFileName("output.pdf"); QPainter painter(&printer); painter.drawPixmap(pixmap.rect(), pixmap); painter.end(); return 0; }
Attachments
Issue Links
- is required for
-
QTBUG-25379 QtPrintSupport - PDF Issues
- Open
-
QTBUG-37693 QtPrintSupport - Painting Issues
- Open
-
QTBUG-37713 QtPrintSupport - 5.3 issues
- Open