OPENTYPE_FEATURE_RECORD structure (usp10.h)
Contains information about a single OpenType feature to apply to a run.
Syntax
typedef struct opentype_feature_record {
OPENTYPE_TAG tagFeature;
LONG lParameter;
} OPENTYPE_FEATURE_RECORD;
Members
tagFeature
OPENTYPE_TAG structure containing a registered or private OpenType feature tag. For information on feature tags, see http://www.microsoft.com/typography/otspec/featuretags.htm.
lParameter
Value indicating how to apply the feature tag. Possible values are defined in the following table.
Value | Description |
---|---|
0 | Feature is disabled and should not be applied. |
1 | Feature is active. If the feature offers several alternatives, select the first value. |
Greater than 1 | Feature is active. Select the alternative value at this index. Should be used only when multiple alternatives are available for a feature. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | usp10.h |
Redistributable | Usp10.dll version 1.600 or greater on Windows XP |