Details
-
Bug
-
Resolution: Unresolved
-
P5: Not important
-
None
-
4.7.2
-
None
Description
The image opens in GSview.
Message displayed by GSView
GSview 4.9 2007-11-18
Unknown in Comments section at line 7:
%%DocumentFonts: (atend)
Unknown in Trailer section at line 217:
%%DocumentFonts:
GPL Ghostscript 8.71 (2010-02-10)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Displaying DSC file C:/sftasks/current/bloatedPainterSimplified-build-desktop/test.eps
Displaying page 1
If the image doesn't contain any text it can be included in Word without problems.
Example reproducing the problem
#include <QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); QGraphicsScene scene; scene.addText("Hello"); // for (int i = 0; i < 100; i++) // scene.addLine(0, 0, 100, i); QPrinter printer; printer.setOutputFileName("test.eps"); printer.setPaperSize(QPrinter::A4); printer.setPageMargins(0,0,0,0, QPrinter::Millimeter); printer.setOutputFormat( QPrinter::PostScriptFormat ); QPainter painter(&printer); scene.render(&painter); painter.end(); return 0; }