diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-04-28 15:56:26 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2013-04-29 12:45:41 +0200 |
commit | c559b13b80ab4c8ca4e6ca713bce388ea650e02c (patch) | |
tree | 4e0599d1ca6b493668613f8f438972a709e2c05b /vcl/inc | |
parent | ca0b580e2a21999d75bcd39ae5b6f81e9e42897b (diff) |
[harfbuzz] Re-enable text justification
It turned out that ApplyDXArray() is need to apply advance width
adjustments after justification, so we can't just bypass it.
So I just copied GenericSalLayout::ApplyDXArray() and stripped it of
ICUism so it does not break with HarfBuzz, but I had to make
m_GlyphItems non-private, so I'm not sure this is the right approach.
Change-Id: I66d647c3590fdf912c39d0cf23ac72bcc7ca72c9
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/sallayout.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx index ad6cd9479ab5..5d99acb768df 100644 --- a/vcl/inc/sallayout.hxx +++ b/vcl/inc/sallayout.hxx @@ -367,8 +367,9 @@ protected: bool GetCharWidths( sal_Int32* pCharWidths ) const; -private: GlyphVector m_GlyphItems; + +private: mutable Point maBasePoint; // enforce proper copy semantic |