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

--- Comment #8 from Khaled Hosny <[email protected]> ---
Something like this should fix the issue:

diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index 19ab9ae..e3366d4 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -3427,6 +3427,11 @@ bool D2DWriteTextOutRenderer::GetDWriteInkBox(SalLayout
const &rLayout, Rectangl
         rOut.Union(b);
     }

+    // The clipping rectangle is sometimes overzealous, add an extra pixel to
+    // remedy this.
+    if (!rOut.IsEmpty)
+        rOut.expand(1);
+
     return true;
 }

But since I can’t reproduce, I feel uneasy about applying such a fix a blindly.
If someone who is able to reproduce can build with this patch and verify it
fixes the issue, I’ll happily push it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to