[Kst] [Bug 110070] Export to EPS does not produce high-quality PostScript and color is missing

Barth Netterfield netterfield at physics.utoronto.ca
Thu Aug 18 03:07:54 CEST 2005


On August 17, 2005 08:17 pm, Andrew Walker wrote:
> ------- An eps file is quite close to a ps file (with minor differences in
> the header and footer). It should be possible to use a QPrinter to generate
> the required ps file and then simply hack in the changes. Not very elegant,
> but simple. _______________________________________________

Something like add a new signal and a special case in 
KstGraphFileDialogI::reqGraphFileadd, and add a new 
"immediatePrintWindowToEPS" which borrows from the print to file one, I 
assume.  The trick is inserting the new header lines into the .ps that 
kprinter makes.

One thing I don't understand: the QImage documentation says nothing about 
being able to even create an .EPS -  Hmmm - a bug in an accidental (but 
important) feature.



More information about the Kst mailing list