TLFontFace
See source codeTable of contents
A font face that can be used in the editor. The properties of this are largely the same as the
ones in the
css @font-face
rule.
interface TLFontFace {}
Properties
ascentOverride
readonlyoptional
See ascent-override
.
readonly ascentOverride?: string
descentOverride
readonlyoptional
See descent-override
.
readonly descentOverride?: string
family
readonly
How this font can be referred to in CSS.
See font-family
.
readonly family: string
featureSettings
readonlyoptional
readonly featureSettings?: string
lineGapOverride
readonlyoptional
See line-gap-override
.
readonly lineGapOverride?: string
src
readonly
The source of the font. This
See src
.
readonly src: TLFontFaceSource
stretch
readonlyoptional
See font-stretch
.
readonly stretch?: string
style
readonlyoptional
See font-style
.
readonly style?: string
unicodeRange
readonlyoptional
See unicode-range
.
readonly unicodeRange?: string
weight
readonlyoptional
See font-weight
.
readonly weight?: string
Prev
TLFilesExternalContentNext
TLFontFaceSource