Bug 37559 pixel artefacts in graphic objects in exported PDF

Johannes Sixt j6t at kdbg.org
Wed Jul 11 12:51:21 PDT 2012


Am 09.07.2012 16:15, schrieb Thorsten Behrens:
> Johannes Sixt wrote:
>> I've discoverd a document that shows the pixel artefacts on screen, not
>> only after it is exported to PDF. I would like to investigate this.
>> Where can I find the code that renders LO draw objects (e.g. a rectangle
>> with rounded corners) to the screen?
>>
> Hi Johannes,
> 
> the down-to-the-metal code is in vcl/source/gdi/outdev*.cxx, some
> higher-level stuff lives in drawinglayer/source/processor2d/*

Thanks. The artefacts seem to be connected to
VclProcessor2D::RenderPolygonStrokePrimitive2D(). If I comment out all
mpOutputDevice->DrawPolyLine() calls in that function, the artefacts
vanish (the lines vanish, too, of course).

Still digging...

-- Hannes



More information about the LibreOffice mailing list