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

Patrick Luby <plub...@neooffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|libreoffice-b...@lists.free |plub...@neooffice.org
                   |desktop.org                 |

--- Comment #8 from Patrick Luby <plub...@neooffice.org> ---
(In reply to Patrick Luby from comment #7)
> Update: edges are blurred properly with Skia/Metal on macOS. The failure to
> blur the edges only occurs with Skia/Raster and Skia disabled.

After some debugging, I am seeing the break get executed (i.e. the alpha mask
is empty) at drawinglayer/source/primitive2d/softedgeprimitive2d.cxx:198 when
blurring the edges fails:

  // Get the Alpha and use as base to blur and apply the effect
  AlphaMask aMask(aBitmapEx.GetAlphaMask());
  if (aMask.IsEmpty()) // There is no mask, fully opaque
      break;

So, my current theory is that after the transparency->alpha patch, we now need
to do some special handling when there is an empty alpha mask.

I will post another update when I have more news.

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

Reply via email to