https://bugs.documentfoundation.org/show_bug.cgi?id=166709

Armin Le Grand (allotropia) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #13 from Armin Le Grand (allotropia) <[email protected]> ---
First thought was that old version did somehow avoid to use
FillGraphicPrimitive2D::create2DDecomposition, but it does not. It creates all
the tiles and exports them. I checked that it uses
PDFWriterImpl::createBitmapEmit and exports 11998 times the same bitmap using a
reference. But that is not written to the pdf, instead a bitmap object gets
created. Not found out yet where that happens.

One difference is that in old version the
PolyPolygonGraphicPrimitive2D::create2DDecomposition creates a
FillGraphicPrimitive2D embedded to a MaskPrimitive2D, all that embedded to an
UnifiedTransparencePrimitive2D.
In createPolyPolygonFillPrimitive a PolyPolygonGraphicPrimitive2D is created
and embedded to a UnifiedTransparencePrimitive2D.

The new version of createPolyPolygonFillPrimitive directly creates a
PolyPolygonGraphicPrimitive2D with added transparency. In
PolyPolygonGraphicPrimitive2D::create2DDecomposition that gets decomposed to a
FillGraphicPrimitive2D with directly added transparency and that embedded to a
MaskPrimitive2D.

Need to check where the optimization is in the old stuff and how it gets
triggered...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to