Re: [Xournal-devel] Resolution of the PDF background in export to PDF?

2015-06-17 Thread Denis Auroux
So, in short: what we do is just re-distilling the PDF by using poppler to read the PDF and render it to a cairo surface with the PDF backend. I see no clear reason why bitmaps from the PDF shouldn't re-distill properly without loss of resolution. (There could be a slight loss of crispness as t

Re: [Xournal-devel] Resolution of the PDF background in export to PDF?

2015-06-17 Thread Denis Auroux
The new export-to-PDF renders things on a PDF cairo surface, which I imagine is more or less the same as using File -> Print -> Print to File -> PDF with the main difference that we create the cairo context ourselves and set the page sizes to match ours, rather than letting gtkprint set up the

[Xournal-devel] Resolution of the PDF background in export to PDF?

2015-06-17 Thread D M German
Hi Denis, One question about the new exporter. I have PDFs that each page is a scan (images). When I use export to PDF it drops the resolution significantly. If use the old exporter, things look ok. Is this based on some variable that controls the resolution of the background PDF? thanks!