@pdfa-lab/fontkit / mapAATToOT
Function: mapAATToOT() ​
mapAATToOT(
features): keyofFeatures[]
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 ​
| Parameter | Type |
|---|---|
features | AATFeaturesInput |
Returns ​
keyof Features[]