Skip to content

Interface: FontFaceDescriptors ​

Defined in: types/desktop-engine.d.ts:5176

The descriptors of a FontFace, as CSS writes them in @font-face

Properties ​

ascentOverride? ​

ts
optional ascentOverride?: string;

Defined in: types/desktop-engine.d.ts:5195

Kept, not applied


descentOverride? ​

ts
optional descentOverride?: string;

Defined in: types/desktop-engine.d.ts:5197

Kept, not applied


display? ​

ts
optional display?: string;

Defined in: types/desktop-engine.d.ts:5193

Kept, not applied: text is drawn once the face is loaded


featureSettings? ​

ts
optional featureSettings?: string;

Defined in: types/desktop-engine.d.ts:5189

Kept, not applied


lineGapOverride? ​

ts
optional lineGapOverride?: string;

Defined in: types/desktop-engine.d.ts:5199

Kept, not applied


stretch? ​

ts
optional stretch?: string;

Defined in: types/desktop-engine.d.ts:5185

Kept, not applied: faces aren't picked by width


style? ​

ts
optional style?: string;

Defined in: types/desktop-engine.d.ts:5178

"normal" (the default), "italic" or "oblique", with up to two angles ("oblique 10deg")


unicodeRange? ​

ts
optional unicodeRange?: string;

Defined in: types/desktop-engine.d.ts:5187

Kept, not applied: a face is used for every character it has


variationSettings? ​

ts
optional variationSettings?: string;

Defined in: types/desktop-engine.d.ts:5191

Kept, not applied


weight? ​

ts
optional weight?: string;

Defined in: types/desktop-engine.d.ts:5183

"normal" (400, the default), "bold" (700), a weight from 1 to 1000, or a range of two for a variable font ("100 900"): a variable font's weight axis follows the weight asked for, within the range

The SDK is released under the Apache License 2.0