diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-09-03 03:14:08 +0200 |
---|---|---|
committer | خالد حسني <khaled@aliftype.com> | 2022-09-04 02:10:17 +0200 |
commit | dc92a4d973086ce8a6a5f75ba0f4d4c9ca05537a (patch) | |
tree | 9380a4db2bb8ee1ea131b62c6cfab2957ccd5fef /vcl/inc/win/salgdi.h | |
parent | b87f4dfd33b48bb2f6cec9732ace51f2a272308d (diff) |
vcl: Create hb_face_t in PhysicalFontFace
The two map to each other, and we want to access hb_face_t to provide
some functionality scattered currently in platform-specific
implementations.
Change-Id: Ib3842752ec240b8254db828dba95a6a0ad65f16a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139275
Tested-by: Jenkins
Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/inc/win/salgdi.h')
-rw-r--r-- | vcl/inc/win/salgdi.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index 7833f988bd18..cddd59774b43 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -79,6 +79,8 @@ public: FontCharMapRef GetFontCharMap() const override; bool GetFontCapabilities(vcl::FontCapabilities&) const override; + virtual hb_blob_t* GetHbTable(hb_tag_t nTag) const override; + private: sal_IntPtr mnId; @@ -91,9 +93,10 @@ private: BYTE mnPitchAndFamily; bool mbAliasSymbolsHigh; bool mbAliasSymbolsLow; + mutable HDC mhDC; - void ReadCmapTable( HDC ) const; - void GetFontCapabilities( HDC hDC ) const; + void ReadCmapTable() const; + void GetFontCapabilities() const; }; /** Class that creates (and destroys) a compatible Device Context. |