Commit 0294a6d2 authored by Wilfried Huss's avatar Wilfried Huss

port of commit 554782:

Use antialiasing and 32bit images for embedded postscript.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=554783
parent 227296e6
......@@ -51,7 +51,7 @@ ghostscript_interface::ghostscript_interface() {
PostScriptHeaderString = new QString();
knownDevices.append("png256");
knownDevices.append("png16m");
knownDevices.append("jpeg");
knownDevices.append("pnn");
knownDevices.append("pnnraw");
......@@ -221,6 +221,7 @@ void ghostscript_interface::gs_generate_graphics_file(const PageNumber& page, co
argus << QString("-sExtraIncludePath=%1").arg(includePath);
argus << QString("-g%1x%2").arg(pixel_page_w).arg(pixel_page_h); // page size in pixels
argus << QString("-r%1").arg(resolution); // resolution in dpi
argus << "-dTextAlphaBits=4 -dGraphicsAlphaBits=2"; // Antialiasing
argus << "-c" << "<< /PermitFileReading [ ExtraIncludePath ] /PermitFileWriting [] /PermitFileControl [] >> setuserparams .locksafe";
argus << "-f" << PSfileName;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment