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

Tor Lillqvist tml at collabora.com
Thu Mar 17 08:01:21 UTC 2016


 vcl/win/gdi/winlayout.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit f6a0ed20ba79c72788fa029fe99572e2d5a666e7
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Mar 17 10:00:04 2016 +0200

    Add a humble wish
    
    Change-Id: Ie94f991acebda4e9074dba46d7bd65b433e0ce9b

diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index f4f8d94..d67221e 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -1516,7 +1516,9 @@ bool SimpleWinLayout::CacheGlyphs(SalGraphics& rGraphics) const
         int nCodePoint;
         if (i < mnGlyphCount-1 && rtl::isHighSurrogate(mpOutGlyphs[i]) && rtl::isLowSurrogate(mpOutGlyphs[i+1]))
         {
-#if 1
+#if 1 // Don't remove the #else branch in case somebody wants to
+      // continue trying to figure out why sequential non-BMP glyphs
+      // get scribbled on top of each others if caching is used.
             return false;
 #else
             nCodePoint = rtl::combineSurrogates(mpOutGlyphs[i], mpOutGlyphs[i+1]);


More information about the Libreoffice-commits mailing list