[Libreoffice-commits] core.git: Branch 'feature/fixes7' - vcl/win

Tor Lillqvist tml at collabora.com
Tue Aug 25 01:54:08 PDT 2015


 vcl/win/source/gdi/winlayout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 12450a5236d9c86390f5a706612bb7935aff332a
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Aug 25 11:52:20 2015 +0300

    Turn on glyph caching by default when using OpenGL
    
    Can now be turned off with a SAL_DISABLE_GLYPH_CACHING environment variable.
    
    Change-Id: I7ac14d72dc0f85c0682d92492eb96bec1d207609

diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index f26d3eb..d341806 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -1658,7 +1658,7 @@ void UniscribeLayout::DrawTextImpl(HDC hDC) const
 
 bool UniscribeLayout::CacheGlyphs(SalGraphics& rGraphics) const
 {
-    static bool bDoGlyphCaching = (std::getenv("SAL_ENABLE_GLYPH_CACHING") != NULL);
+    static bool bDoGlyphCaching = (std::getenv("SAL_DISABLE_GLYPH_CACHING") == NULL);
 
     if (!bDoGlyphCaching)
         return false;


More information about the Libreoffice-commits mailing list