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

New commits:
commit 3f4263f2a3725895a4b761ac483070d60d71631c
Author: Khaled Hosny <khaledho...@eglug.org>
Date:   Thu Dec 22 20:31:39 2016 +0200

    Fix glyph Y offset
    
    Typo from 9eb4b14ffa57cd7bbdf0fc43096f5f1e65c8e388.
    
    Change-Id: I542b84cae50d09f2ed58a58ba9de519354a6900d
    Reviewed-on: https://gerrit.libreoffice.org/32351
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Khaled Hosny <khaledho...@eglug.org>

diff --git a/vcl/source/gdi/CommonSalLayout.cxx 
b/vcl/source/gdi/CommonSalLayout.cxx
index f900d55..75b0280 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -628,7 +628,7 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
 
                 nAdvance = std::lround(nAdvance * nXScale);
                 nXOffset = std::lround(nXOffset * nXScale);
-                nYOffset = std::lround(nXOffset * nYScale);
+                nYOffset = std::lround(nYOffset * nYScale);
 
                 Point aNewPos(aCurrPos.X() + nXOffset, aCurrPos.Y() + 
nYOffset);
                 const GlyphItem aGI(nCharPos, nGlyphIndex, aNewPos, 
nGlyphFlags,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to