[patch] Prettier printing
Tomaz Canabrava
tcanabrava at kde.org
Tue Oct 15 05:31:17 UTC 2013
On Tuesday 15 October 2013 14:19:54 Patrick Valsecchi wrote:
> I don't know why you have vector graphics. If I look at the generated
> PDF, nothing is vector. It's just bitmaps with higher resolution, at
> least when compiled with Qt 4.9.0.
>
> What I get with un-modified subsurface:
> https://www.dropbox.com/s/secerihiarmzioe/originalPrint.pdf
>
> What I get with my patch:
> https://www.dropbox.com/s/l13r12c0o43ewpj/newPrint.pdf
>
> Download them if you want to see something. Dropbox's view doesn't allow
> you to zoom. Then, with your favorite PDF viewer, if you try to select
> some text, you'll see that you cannot. It's all bitmap.
>
> Maybe with Qt5, they made some progress and some stuff gets printed as
> vectors. Good. But at least, with my patch we have something that is not
> as pixelated as before... which had only a width of 600 pixels for the
> whole profile.
>
> What is the official Qt version we support?
4.8.x
( how do you have the 4.9 if the official stable one for the 4.x series is
4.8.5? )
>
> On 10/15/2013 12:25 PM, Lubomir I. Ivanov wrote:
> > On 15 October 2013 11:57, Patrick Valsecchi <patrick at thus.ch> wrote:
> >> Hi,
> >>
> >> The attached patch improves the quality of the profile printing. Way less
> >> pixelisation.
> >
> > to follow up with a little bit of discussion here.
> >
> > Patrick, i like the change direction because if we skip the QPixmap
> > step we can render the profile in vector and that's pretty much what
> > we want.
> > but the question here is - why can't we render() a QTableView in vector.
> >
> > for the Qt savvy crew:
> > i think i recall vector output when using QTableView::render() with
> > Qt5. any ideas why we get raster with Qt4?
> >
> > for the PM crew:
> > is it acceptable to have the profile in vector, while tables remain in
> > raster on a print? to me it look kind of odd.
> > currently we render everything in raster which should look good at
> > 100% print size, but then there is the issue if users want to take
> > screenshots from a print preview or PDF.
> >
> > lubomir
> > --
>
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
More information about the subsurface
mailing list