[poppler] qt4: arthur backend: Page.renderToPainter renders very wide lines
wbsoft at xs4all.nl
Tue Mar 22 02:45:22 PDT 2011
I am using poppler-qt4 via a Python binding (created by me) and try to use
the arthur backend and renderToPainter (esp. to print a Poppler.Document.)
I found that some PDF documents, most notably PDF created by LilyPond a
music sheet engraving program, display very thick lines. Both images were
generated by Page.renderToImage, but the right one using the Arthur
renderbackend. Page.renderToPainter() yields the same results.
In the attached PNG snapshots from both rendering results are visible from the
same part of a LilyPond-generated PDF document. Try e.g. a LilyPond pdf such
The default backend of Poppler renders LilyPond-generated documents just fine.
But I would really like to paint without generating a raster image first. As
the app I'm developing is a LilyPond editor (the upcoming 2.0, cross-platform
version of Frescobaldi), I'd very much like to find out how to print those
PDFs nicely via QPrinter! (sending through lpr is not really cross-platform.)
With best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 17061 bytes
Desc: not available
More information about the poppler