summaryrefslogtreecommitdiff
path: root/vcl/inc/font
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@aliftype.com>2022-12-03 16:07:24 +0200
committerخالد حسني <khaled@aliftype.com>2022-12-04 08:20:35 +0000
commitb6e338fe746028f82c973987eaf04280715110e4 (patch)
tree8eeb867a130518c76322ad8a906dd6588cf408ac /vcl/inc/font
parentdf57f192c03b38b834a8283b80fc9cd9610b1583 (diff)
Add and use Feature::isCharacterVariant/isStylisticSet
Change-Id: Ifd772da1f4b81aa08440025a5c960fb226281194 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143613 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
Diffstat (limited to 'vcl/inc/font')
-rw-r--r--vcl/inc/font/OpenTypeFeatureDefinitionList.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/font/OpenTypeFeatureDefinitionList.hxx b/vcl/inc/font/OpenTypeFeatureDefinitionList.hxx
index 52dbcfb5b9f0..c8fb6f7a449d 100644
--- a/vcl/inc/font/OpenTypeFeatureDefinitionList.hxx
+++ b/vcl/inc/font/OpenTypeFeatureDefinitionList.hxx
@@ -25,12 +25,12 @@ private:
void init();
- static bool isSpecialFeatureCode(sal_uInt32 nFeatureCode);
- static FeatureDefinition handleSpecialFeatureCode(sal_uInt32 nFeatureCode);
+ static bool isSpecialFeature(vcl::font::Feature& rFeature);
+ static FeatureDefinition handleSpecialFeature(vcl::font::Feature& rFeature);
public:
OpenTypeFeatureDefinitionListPrivate();
- FeatureDefinition getDefinition(sal_uInt32 nFeatureCode);
+ FeatureDefinition getDefinition(vcl::font::Feature& rFeature);
bool isRequired(sal_uInt32 nFeatureCode);
};