[Libreoffice-commits] core.git: vcl/source
Khaled Hosny
khaledhosny at eglug.org
Thu Dec 22 20:24:27 UTC 2016
vcl/source/gdi/CommonSalLayout.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3f4263f2a3725895a4b761ac483070d60d71631c
Author: Khaled Hosny <khaledhosny at 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 <ci at libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny at 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,
More information about the Libreoffice-commits
mailing list