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

--- Comment #9 from Patrick Luby (volunteer) <guibomac...@gmail.com> ---
Don't know if this will fix this bug, but if anyone has a Windows or Linux
build, you might try using the same fix as I used for Skia/Metal on macOS. The
following debug patch should enable the macOS fix for Skia/Vulcan:

diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx
index 4c34d9ab2870..030bcefd9b2a 100644
--- a/vcl/skia/gdiimpl.cxx
+++ b/vcl/skia/gdiimpl.cxx
@@ -1509,7 +1509,6 @@ void SkiaSalGraphicsImpl::invert(basegfx::B2DPolygon
const& rPoly, SalInvert eFl
                                                     SkSamplingOptions()));
             }

-#ifdef SK_METAL
             // tdf#153306 prevent subpixel shifting of X coordinate
             // HACK: for some unknown reason, if the X coordinate of the
             // path's bounds is more than 1024, SkBlendMode::kExclusion will
@@ -1527,7 +1526,6 @@ void SkiaSalGraphicsImpl::invert(basegfx::B2DPolygon
const& rPoly, SalInvert eFl
                 aMatrix.set(SkMatrix::kMTransX, -0.001);
                 getDrawCanvas()->concat(aMatrix);
             }
-#endif
         }
         getDrawCanvas()->drawPath(aPath, aPaint);
     }

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

Reply via email to