FontFace: variationSettings property

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

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
variationSettings
Experimental