[Libreoffice-commits] core.git: vcl/skia

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 1 10:58:27 UTC 2020


 vcl/skia/gdiimpl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0e3023564f58c70af47155675a43c1540d20ad65
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed Apr 1 10:32:24 2020 +0200
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Wed Apr 1 12:57:41 2020 +0200

    add Skia zone protection also to text rendering call
    
    Change-Id: I311b4c9619b350e0b1d91189d547ef1bc300c3c2

diff --git a/vcl/skia/gdiimpl.cxx b/vcl/skia/gdiimpl.cxx
index 53ccda65c1d5..e68d620ac894 100644
--- a/vcl/skia/gdiimpl.cxx
+++ b/vcl/skia/gdiimpl.cxx
@@ -1261,6 +1261,7 @@ static double toSin(int degree10th) { return SkScalarSin(toRadian(degree10th));
 void SkiaSalGraphicsImpl::drawGenericLayout(const GenericSalLayout& layout, Color textColor,
                                             const SkFont& font, GlyphOrientation glyphOrientation)
 {
+    SkiaZone zone;
     std::vector<SkGlyphID> glyphIds;
     std::vector<SkRSXform> glyphForms;
     glyphIds.reserve(256);


More information about the Libreoffice-commits mailing list