diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-08-31 16:50:08 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-09-05 16:44:10 +0200 |
commit | 0854ae596afa863ab4db592fa484f8b0799b37da (patch) | |
tree | 6e582f1883ad026608d96168be9cac164784ff1a /include | |
parent | ad15930e60b1e175d127022fd99fe71f140cbd88 (diff) |
glyph cache considered artificial italic the same as regular
The "true" font metrics are the same so it matches, though the
result when rendered is different. Do the same with artificial
emboldening too.
seen with Bahnschrift font from tdf#103596 and tdf#108497
Change-Id: I5fb77b5abe55fea9a09091e350c58866725c9b3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139129
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/glyphitemcache.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/glyphitemcache.hxx b/include/vcl/glyphitemcache.hxx index 30921e6920a0..ed48f8c344c3 100644 --- a/include/vcl/glyphitemcache.hxx +++ b/include/vcl/glyphitemcache.hxx @@ -75,6 +75,8 @@ private: double fontScaleY; MapMode mapMode; bool rtl; + bool artificialItalic; + bool artificialBold; vcl::text::ComplexTextLayoutFlags layoutMode; LanguageType digitLanguage; size_t hashValue; |