FontFace.featureSettings

The featureSettings property of the FontFace interface retrieves or sets infrequently used font features that are not available from a font's variant properties. It is equivalent to the font-feature-settings descriptor.

Syntax

let featureSettingDescriptor = FontFace.featureSettings;
FontFace.featureSettings = featureSettingDescriptor;

Value

A CSSOMString containing a descriptor.

Specifications

Specification
CSS Font Loading Module Level 3 (CSS Font Loading 3)
# dom-fontface-featuresettings

Browser compatibility

BCD tables only load in the browser