[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: karbon
From: David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date: 2003-10-22 21:24:50
[Download RAW message or body]
On Wednesday 22 October 2003 22:06, Nicolas Goutte wrote:
> On Wednesday 22 October 2003 21:13, Nicolas Goutte wrote:
> > I think I start to understand what you want.
> >
> > As your printner is 600 dpi, you would want that (let name it so) the grid
> > is based also on 600dpi. But Postscript is not working that way. PostScript
> > is based on 72dpi (the point.) That is why all KOffice application use the
> > point as base.
> >
> > Of course PS and also KOffice use floating points, but that is still not
>
> Sorry, I forgot again that Qt limits us here to integers.
In the QPainter API?
Yes but you can scale the painter, and draw everything zoomed in, to get
more precision - this is what Lars recommended that we do.
KWord used to do that at some point (see bool doZoom in KWView::print),
but since not all KOffice parts support(ed) zooming, I had to disable it.
Since then I haven't had time to experiment with it. If anyone feels like it,
just set it to true, and see if that works.
--
David Faure -- faure@kde.org, dfaure@klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic