Kaydet (Commit) 84f644ee authored tarafından Khaled Hosny's avatar Khaled Hosny

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
üst 26ac0e16
...@@ -334,8 +334,8 @@ void CairoTextRender::DrawServerFontLayout( const GenericSalLayout& rLayout, con ...@@ -334,8 +334,8 @@ void CairoTextRender::DrawServerFontLayout( const GenericSalLayout& rLayout, con
else else
{ {
ydiff = font_extents.ascent/nHeight; ydiff = font_extents.ascent/nHeight;
xdiff = -font_extents.descent/nHeight;
} }
xdiff = -font_extents.descent/nHeight;
} }
else if (nGlyphRotation == -1) else if (nGlyphRotation == -1)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment