diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2016-11-16 01:05:35 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2016-11-16 01:05:35 +0200 |
commit | 84f644eee78106f01486098d446d9163b62927eb (patch) | |
tree | be28c5e023080c8ba9a2ed443f9277247d2458ad /vcl/unx/generic/gdi/cairotextrender.cxx | |
parent | Fix thinko in previous commit (diff) | |
download | core-84f644eee78106f01486098d446d9163b62927eb.tar.gz core-84f644eee78106f01486098d446d9163b62927eb.zip |
tdf#103784: Shift the upright glyphs like old code
It turns out we actually need the horizontal shift, so re-enable it.
Change-Id: If9d16276f0f56b518c6bedc2fcbbd3d8746d8d5d
Diffstat (limited to 'vcl/unx/generic/gdi/cairotextrender.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/cairotextrender.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx index fbac5f322729..974b584f7896 100644 --- a/vcl/unx/generic/gdi/cairotextrender.cxx +++ b/vcl/unx/generic/gdi/cairotextrender.cxx @@ -334,8 +334,8 @@ void CairoTextRender::DrawServerFontLayout( const GenericSalLayout& rLayout, con else { ydiff = font_extents.ascent/nHeight; - xdiff = -font_extents.descent/nHeight; } + xdiff = -font_extents.descent/nHeight; } else if (nGlyphRotation == -1) { |