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

            Bug ID: 92194
           Summary: headless renderer not doing mask based clipping ...
           Product: LibreOffice
           Version: 5.0.0.0.beta1
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: michael.me...@collabora.com

The attached document relies on 1x bit mask clipping to ensure the gradient is
contained within the shape from the drawinglayer:

#5  0x00007fffe05ab768 in drawinglayer::impBufferDevice::paint
(this=0x7fffffff84f0, fTrans=0) at
/data/opt/libreoffice/master/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx:336
#6  0x00007fffe05c4226 in
drawinglayer::processor2d::VclProcessor2D::RenderMaskPrimitive2DPixel
(this=0x1a4d070, rMaskCandidate=...) at
/data/opt/libreoffice/master/drawinglayer/source/processor2d/vclprocessor2d.cxx:910

Unfortunately the headless backend mangles the palette of the bitmap by
mis-allocating the colors; a trivial fix but horrible to find chasing through
basebmp. The use of uninitialized data to provide the palette colors being
rather unfortunate ;-)

Thankfully an easy fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to