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

Tor Lillqvist tml at collabora.com
Wed Oct 4 20:41:25 UTC 2017


 vcl/win/gdi/salfont.cxx   |    2 +-
 vcl/win/gdi/winlayout.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 013044d12b61ac3b1b0b0f6e845825cac1894d94
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Oct 4 23:40:39 2017 +0300

    It's called 'DirectWrite', one word
    
    Change-Id: I4892da38182295ca474e89bb061f713039cfd8e1

diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx
index 70ad1e908152..19c6424e6dfd 100644
--- a/vcl/win/gdi/salfont.cxx
+++ b/vcl/win/gdi/salfont.cxx
@@ -231,7 +231,7 @@ namespace
 }
 
 // These are Win 3.1 bitmap fonts using "FON" font format
-// which is not supported with "Direct Write" so let's substitute them
+// which is not supported with DirectWrite so let's substitute them
 // with a font that is supported and always available.
 // Based on:
 // https://dxr.mozilla.org/mozilla-esr10/source/gfx/thebes/gfxDWriteFontList.cpp#1057
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index f7161301d72a..cb70d9268514 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -83,7 +83,7 @@ bool WinFontInstance::CacheGlyphToAtlas(HDC hDC, HFONT hFont, int nGlyphIndex, S
 
     if (!pTxt->BindFont(aHDC.get()))
     {
-        SAL_WARN("vcl.gdi", "Binding of font failed. The font might not be supported by Direct Write.");
+        SAL_WARN("vcl.gdi", "Binding of font failed. The font might not be supported by DirectWrite.");
         return false;
     }
 


More information about the Libreoffice-commits mailing list