Revision 897000

Go back to digest for 21st December 2008

Bug Fixes in Graphics

John Layt committed changes in /trunk/KDE/kdegraphics/okular:

Fix Print to File output by using Ghostscript ps2pdf to convert ps print file into pdf format and save that.

Only enabled in PDF, DVI, and DJVU generators if ps2pdf is found in the path. Ghostscript is almost always guaranteed to be installed given many parts of the printing stack depends on it.

Note that resulting PDF or PS file will have the page size as set in the print dialog and not the page size of the original document, i.e. if an A5 booklet is printed but the dialog page size is set to A4 then the resulting file will be A4 and not A5.

File Changes

Modified 5 files
  • /trunk/KDE/kdegraphics/okular
  •   /core/fileprinter.cpp
  •   /core/fileprinter.h
  •   /generators/djvu/generator_djvu.cpp
  •   /generators/dvi/generator_dvi.cpp
  •   /generators/poppler/generator_pdf.cpp
5 files changed in total