diff options
author | Khaled Hosny <khaled@aliftype.com> | 2022-08-23 22:35:10 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-08-25 13:02:14 +0200 |
commit | 7581fcde3c6a8d098a37b2c89c74e54696d4c346 (patch) | |
tree | 62b0089ca277eb4a2c22af769669ce2d8514d56f /include | |
parent | 187be4a26f38af6a0c8751a096379978e269a83a (diff) |
FeatureCollector: Simplify
We are not using the script or language information for anything, so we
can use HarfBuzz API to query the GSUB/GPOS tables directly.
Change-Id: Ie68c51a1662494ba33ec192edb78afa0d8added4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138745
Tested-by: خالد حسني <khaled@aliftype.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/font/Feature.hxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/vcl/font/Feature.hxx b/include/vcl/font/Feature.hxx index addc4836e6ee..acb70bfe6980 100644 --- a/include/vcl/font/Feature.hxx +++ b/include/vcl/font/Feature.hxx @@ -85,19 +85,12 @@ public: operator bool() const; }; -struct VCL_DLLPUBLIC FeatureID -{ - uint32_t m_aFeatureCode; - uint32_t m_aScriptCode; - uint32_t m_aLanguageCode; -}; - struct Feature { Feature(); - Feature(FeatureID const& rID, FeatureType eType); + Feature(uint32_t const nCode, FeatureType eType); - FeatureID m_aID; + uint32_t m_nCode; FeatureType m_eType; FeatureDefinition m_aDefinition; }; |