diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-23 14:54:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-23 17:11:25 +0000 |
commit | 8c3e1465223bd8c824c4cecfd0e6fc387583e592 (patch) | |
tree | 2c81a8a357a3886367f09f8be61a26b547491416 /vcl/inc/unx/glyphcache.hxx | |
parent | 24a24e65cafffe137d76de0a6eb5270ea88ebffd (diff) |
with wayland scaling cairo is meddling with our font
so I see mixed large scaled and small unscaled letters in the writer header/footer
widget among other places
so don't give it our FreeType font face (FC_FT_FACE), keep that for ourselves,
but instead set the filename and face index and let it make a new one itself.
Change-Id: I2e5eceb7bf590ccfeb06123d0404120feacfff97
Reviewed-on: https://gerrit.libreoffice.org/31127
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/unx/glyphcache.hxx')
-rw-r--r-- | vcl/inc/unx/glyphcache.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/unx/glyphcache.hxx b/vcl/inc/unx/glyphcache.hxx index 366bd2a5d0fb..15afbcdbc906 100644 --- a/vcl/inc/unx/glyphcache.hxx +++ b/vcl/inc/unx/glyphcache.hxx @@ -151,6 +151,7 @@ public: ~FreetypeFont(); const OString& GetFontFileName() const; + int GetFontFaceIndex() const; bool TestFont() const { return mbFaceOk;} FT_Face GetFtFace() const; int GetLoadFlags() const { return (mnLoadFlags & ~FT_LOAD_IGNORE_TRANSFORM); } |