diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-05-25 11:12:56 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2013-05-25 12:10:25 +0200 |
commit | 0e533770125d57d38e8b5505027ac5359abe40b2 (patch) | |
tree | 8ccbf9210808dc1864560a3eff65d99c192a2b58 /vcl | |
parent | 4f3d63efb5d87d93171eb542d28fa83a74cdfcd8 (diff) |
Revert "Fix improper glyph positioning with old fonts"
This reverts commit cef3f3aac2f7a372e796deac4ee3e8155c5eb697.
The previous commit addressed the real issue.
Change-Id: I802e5f19e4a4991c316135f3984a1b9a6533a104
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 31b01b97229e..bd7a326ef673 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -1098,7 +1098,7 @@ void GenericSalLayout::ApplyDXArray( ImplLayoutArgs& rArgs ) if( m_GlyphItems[j].IsClusterStart() ) break; if( !m_GlyphItems[j].IsDiacritic() ) // #i99367# ignore diacritics - nOldClusterWidth += m_GlyphItems[j].mnNewWidth; + nOldClusterWidth += m_GlyphItems[j].mnNewWidth - m_GlyphItems[j].mnXOffset; nNewClusterWidth += pNewGlyphWidths[j]; } const int nDiff = nNewClusterWidth - nOldClusterWidth; |