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

New commits:
commit 3cc72625da8429b342be2e827604ea65962fcd2e
Author: Tor Lillqvist <t...@collabora.com>
Date:   Fri Mar 11 18:58:02 2016 +0200

    Further tweak, getting much closer to correct
    
    Change-Id: I57ada8873b24a911b9f24ca268f876193ebe25ed

diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index 0881521..8ae8926 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -540,7 +540,7 @@ bool WinFontInstance::AddChunkOfGlyphs(bool 
bRealGlyphIndices, int nGlyphIndex,
         return false;
     }
 
-    D2D1_POINT_2F baseline = { nX, nY + aChunk.mnAscent - bounds.Top() };
+    D2D1_POINT_2F baseline = { nX, nY - bounds.Top() };
     DWRITE_GLYPH_RUN glyphs = {
         pTxt->GetFontFace(),
         pTxt->GetEmHeight(),
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to