FontFace.unicodeRange

The unicodeRange property of the FontFace interface retrieves or sets the range of unicode codepoints encompassing the font. It is equivalent to the unicode-range descriptor.

Syntax

let unicodeRangeDescriptor = FontFace.unicodeRange;
FontFace.unicodeRange = unicodeRangeDescriptor;

Value

A CSSOMString containing a descriptor as it would appear in a style sheet's @font-face rule.

Specifications

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

Browser compatibility

BCD tables only load in the browser