Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FontFace

interface FontFace {
ascentOverride: string;
descentOverride: string;
display: string;
family: string;
featureSettings: string;
lineGapOverride: string;
readonly loaded: Promise<FontFace>;
readonly status: FontFaceLoadStatus;
stretch: string;
style: string;
unicodeRange: string;
variant: string;
variationSettings: string;
weight: string;
load(): Promise<FontFace>;
}
var FontFace: {
prototype: FontFace;
new (
family: string,
source: string | BinaryData,
descriptors?: FontFaceDescriptors,
): FontFace;
}
;

§Properties

§
ascentOverride: string
[src]
§
descentOverride: string
[src]
§
display: string
[src]
§
family: string
[src]
§
featureSettings: string
[src]
§
lineGapOverride: string
[src]
§
readonly loaded: Promise<FontFace>
[src]
§
readonly status: FontFaceLoadStatus
[src]
§
stretch: string
[src]
§
style: string
[src]
§
unicodeRange: string
[src]
§
variant: string
[src]
§
variationSettings: string
[src]
§
weight: string
[src]

§Methods

§
load(): Promise<FontFace>
[src]