FontFace: variationSettings property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Note: This feature is available in Web Workers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The variationSettings property of the FontFace interface retrieves or sets low-level OpenType or TrueType font variations.

This property is equivalent to the font-variation-settings descriptor.

Value

A string containing a descriptor.

Specifications

Specification
CSS Font Loading Module Level 3
# dom-fontfacedescriptors-variationsettings

Browser compatibility