Skip to content

Commit

Permalink
[lib] Wrote documentation of public set feature values function
Browse files Browse the repository at this point in the history
  • Loading branch information
mta452 committed Sep 30, 2018
1 parent 883d8cd commit b3d8be8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Headers/SFScheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,23 @@ void SFSchemeSetScriptTag(SFSchemeRef scheme, SFTag scriptTag);
*/
void SFSchemeSetLanguageTag(SFSchemeRef scheme, SFTag languageTag);

/**
* Sets the OpenType feature values in a scheme.
*
* If the value of a feature is set to zero, it would be disabled provided that it is not a required
* feature of the script specific shaping engine. If the value of a feature is greater than zero, it
* would be enabled. In case of an alternate feature, this value would be used to pick the alternate
* glyph at this position.
*
* @param scheme
* The scheme for which to set the feature values.
* @param featureTags
* An array of feature tags whose values should be set.
* @param featureValues
* An array of OpenType feature values.
* @param featureCount
* The number of elements in feature tags and feature values array.
*/
void SFSchemeSetFeatureValues(SFSchemeRef scheme,
SFTag *featureTags, SFUInt16 *featureValues, SFUInteger featureCount);

Expand Down

0 comments on commit b3d8be8

Please sign in to comment.