Skip to content

@pdfa-lab/fontkit / mapAATToOT

Function: mapAATToOT() ​

mapAATToOT(features): keyof Features[]

Defined in: src/aat/aat-feature-map.ts:564

Maps AAT features to an array of OpenType features Supports both arrays in the form of [[featureType, featureSetting]] and objects in the form of {featureType:{featureSetting:true}}. featureTypes and featureSettings can be either strings or number codes.

Parameters ​

ParameterType
featuresAATFeaturesInput

Returns ​

keyof Features[]