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

--- Comment #22 from Dave Gilbert <[email protected]> ---
I flipped to playing with DrawXMLOptimizer because I thought it might be easier
than tilingPatternFill, but hmm.

I hacked part of what was needed into /pdfimport/tree/drawtreevisiting.cxx
DrawXmlOptimizer::visit (FrameElement & ...

but it only gets me part way; I reckon out of the ~150k possibilities this is
only hitting about 30k.   The problem is that on the original image there's
actually 5 or 6 overlapping patterns with different image/masks.
They each get rasterised into tiles, but then the start of the optimiser
performs a sort, so the neighbouring tiles of any one image aren't next to each
other in the optimiser list.  That sounds fixable but is now getting much
messier.

I'll flip back to tilingPatternFill; the pain with that is getting my head
around all the different coordinate spaces and Poppler doesn't provide much
helper APIs for recreating parts of the path to export the image.

Right, I thought I'd just add those notes before carrying on...

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

Reply via email to