FontFace.variationSettings

The variationSettings property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations. It is equivalent to the font-variation-settings descriptor.

Syntax

let variationSettingDescriptor = FontFace.variationSettings;
FontFace.variationSettings = variationSettingDescriptor;

Value

A CSSOMString containing a descriptor.

Specifications

No specification found

No specification data found for api.FontFace.variationSettings.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

BCD tables only load in the browser