Okay, I think I might have just fixed this, by calling poppler_page_render_for_printing() instead of poppler_page_render() The latter is officially "for screen", but poppler's documentation gives no clue about the specific differences. I don't understand why the "for screen" renderer downsamples bitmaps drastically when called on a PDF cairo context -- this seems like a poppler bug or at least a misfeature.
Anyway, the git repository has been updated and I hope this fixes the issue satisfactorily, without introducing new ones. (Specifically, I'm concerned that the 'for print' rendering options disable certain pieces of the PDF that would have made it in the 'for screen' render, eg. perhaps form fields, translation tables for nonstandard fonts (i.e. in order to be able to copy-paste text from the exported PDF to something else), etc. Please test and let me know. Thanks, Denis On 06/17/2015 04:09 PM, D M German wrote: > > 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! > > > -- > Daniel M. German "My friends would think I was a nut, > turning water into wine, > Solsbury Hill, Peter Gabriel -> opening doors that seem to be shut." > http://turingmachine.org/ > http://silvernegative.com/ > dmg (at) uvic (dot) ca > replace (at) with @ and (dot) with . > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Xournal-devel mailing list > Xournal-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xournal-devel > -- Denis Auroux UC Berkeley, Department of Mathematics 817 Evans Hall, Berkeley CA 94720-3840, USA aur...@math.berkeley.edu ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel