diff options
author | Mark Hung <marklh9@gmail.com> | 2015-11-21 23:14:18 +0800 |
---|---|---|
committer | Mark Hung <marklh9@gmail.com> | 2015-12-19 12:38:46 +0000 |
commit | e32fd5e8671b787dfc6795f3109c616974fe2594 (patch) | |
tree | baa98cc3a936549bd3316923de5529cf5c82c4b1 /include | |
parent | dd258f168f7e5952a71d84a2564c3d5162a613c8 (diff) |
tdf#83755 correct non-printing character position
Bullet of non-monospace font that is used as non-printing character
to indicate space might be wider than the space. Drawing the bullet
over the space make the bullet too close to next character.
Shift the bullet accordingly so that bullet is centered with
original space.
Change-Id: I0d8d721041e8a475546fe25fb01bee374fc3e499
Reviewed-on: https://gerrit.libreoffice.org/20112
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/metric.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx index ddf27eb85455..fd3759a76eba 100644 --- a/include/vcl/metric.hxx +++ b/include/vcl/metric.hxx @@ -73,6 +73,7 @@ public: long GetLineHeight() const; long GetSlant() const; bool IsFullstopCentered() const; + long GetBulletOffset() const; FontMetric& operator=( const FontMetric& rMetric ); bool operator==( const FontMetric& rMetric ) const; |