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?: stringdescentOverride
readonlyoptional
See descent-override.
readonly descentOverride?: stringfamily
readonly
How this font can be referred to in CSS.
See font-family.
readonly family: stringfeatureSettings
readonlyoptional
readonly featureSettings?: stringlineGapOverride
readonlyoptional
See line-gap-override.
readonly lineGapOverride?: stringsrc
readonly
The source of the font. This
See src.
readonly src: TLFontFaceSourcestretch
readonlyoptional
See font-stretch.
readonly stretch?: stringstyle
readonlyoptional
See font-style.
readonly style?: stringunicodeRange
readonlyoptional
See unicode-range.
readonly unicodeRange?: stringweight
readonlyoptional
See font-weight.
readonly weight?: stringPrev
TLFilesExternalContentNext
TLFontFaceSource