[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - vcl/win
Khaled Hosny
khaledhosny at eglug.org
Thu Dec 1 00:50:43 UTC 2016
vcl/win/gdi/winlayout.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit c7e7a634cf5941fffd97102fe4252aee7445e36b
Author: Khaled Hosny <khaledhosny at eglug.org>
Date: Wed Nov 30 14:42:19 2016 +0200
tdf#104013: Band aid for overzealous clipping
Change-Id: If66b7a61f4165ea2e504625cde36161adf945a53
Reviewed-on: https://gerrit.libreoffice.org/31418
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny at eglug.org>
(cherry picked from commit ba3e52699bc05911bc1f9e3cbd5d1332902c736a)
Reviewed-on: https://gerrit.libreoffice.org/31441
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index 4941ac7..c693b31 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;
}
More information about the Libreoffice-commits
mailing list