diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/gdi/winlayout.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index afab6f760dce..134be9fcedeb 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -449,7 +449,8 @@ bool WinFontInstance::AddChunkOfGlyphs(bool bRealGlyphIndices, int nGlyphIndex, DWRITE_FONT_METRICS aFontMetrics; pTxt->GetFontFace()->GetMetrics(&aFontMetrics); aChunk.mnAscent = aFontMetrics.ascent * pTxt->GetEmHeight() / aFontMetrics.designUnitsPerEm; - aChunk.mnAscent += -bounds.Top(); + // FIXME: Temporarily commented out, this positions glyphs vertically a bit better. But far from correctly. + // aChunk.mnAscent += -bounds.Top(); aChunk.mnHeight = bounds.GetHeight(); /* DWRITE_FONT_METRICS aFontMetrics; |