diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-09-05 06:34:52 +0200 |
---|---|---|
committer | خالد حسني <khaled@aliftype.com> | 2022-09-05 09:55:11 +0200 |
commit | 28c8cddd4218905bca05778dcdbae5911132a096 (patch) | |
tree | 338f413302fa4b14bfdf9514e0a9e5803e76f931 /vcl/inc/win | |
parent | 8b9e7617e967c4033d9853e6bc2e96334bf6b243 (diff) |
vcl: Consolidate PhysicalFontFace::GetFontCapabilities()
All subclasses are doing the same thing in slightly different ways, so
move it to the base class that we can now access font tables there.
Change-Id: I1f8827dbc345aa852e1f7aaaa4cb4615593289c8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139395
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/inc/win')
-rw-r--r-- | vcl/inc/win/salgdi.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index 0faedda67585..74f5617d9156 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -71,24 +71,16 @@ public: BYTE GetCharSet() const { return meWinCharSet; } BYTE GetPitchAndFamily() const { return mnPitchAndFamily; } - bool GetFontCapabilities(vcl::FontCapabilities&) const override; - virtual hb_blob_t* GetHbTable(hb_tag_t nTag) const override; private: sal_IntPtr mnId; - // some members that are initialized lazily when the font gets selected into a HDC - mutable bool mbFontCapabilitiesRead; - mutable vcl::FontCapabilities maFontCapabilities; - BYTE meWinCharSet; BYTE mnPitchAndFamily; bool mbAliasSymbolsHigh; bool mbAliasSymbolsLow; HFONT mhFont; - - void GetFontCapabilities() const; }; /** Class that creates (and destroys) a compatible Device Context. |