no simple way to print a QTextDocument in KDE(?)
Thomas Zander
zander at kde.org
Sat Jul 28 07:33:59 BST 2007
On Saturday 28 July 2007 00:54:43 Cristian Tibirna wrote:
> On 26 July 2007 06:04, Thomas Zander wrote:
> > On Thursday 26 July 2007 04:06:53 Cristian Tibirna wrote:
> > > Why not simply printing to a PostScript stream (in memory or on
> > > disk) using QPrinter then sending *that* to KPrinter?
> >
> > The biggest problem with kprinter right now is that it doesn't work
> > well with PDF. And postscript only supports a subset of features
> > from PDF.
>
> Well, to be honest, I fail to see how that is
* PDF supports transparency, postscript does not. Try printing a png with
alpha-transparency or in trunk a shape with a color set that is
semi-transparent and you quickly note that we should be able to print to
PDF from the get-go. (hint; we loose all fidelity if we go via
postscript)
* When I print to PDF in kprinter (exactly like I would in a qprinter) it
doesn't work; I get the following dialog: (zipped jpeg)
http://lists.kde.org/?l=kde-release-team&m=118528280810342&q=p3
> Code is always welcomed.
I tried to understand the kdeprint code, but its not up my alley, sorry.
--
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070728/3cfdc6a4/attachment.sig>
More information about the kde-core-devel
mailing list