summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-03-17 10:00:04 +0200
committerTor Lillqvist <tml@collabora.com>2016-03-17 10:00:21 +0200
commitf6a0ed20ba79c72788fa029fe99572e2d5a666e7 (patch)
tree3059d281fc793f3251d9f51c4bd8c5448468a87e /vcl/win
parentf5d4a688346a939a58b1df69d771dede177b3370 (diff)
Add a humble wish
Change-Id: Ie94f991acebda4e9074dba46d7bd65b433e0ce9b
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/gdi/winlayout.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index f4f8d94ac08d..d67221e28253 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]);