IFontMapping Interface
Declares font mapping settings.
Declaration
export interface IFontMapping
Remarks
See the Font Management topic to learn more about fonts in the Rich Text Editor.
Properties
defaultFontName Property
Specifies a font to which font families are mapped by default.
Declaration
defaultFontName?: string
Property Value
Type | Description |
---|---|
string | The font name. |
Remarks
The defaultFontName property specifies a name of a font to which font families are mapped by default (when there is no an appropriate rule in the rules collection).
Note
The defaultFontName property value should match the name property value of a font listed in the fonts collection.
rules Property
Provide access to a collection of font mapping rules.
Declaration
rules?: IFontMappingRule[]
Property Value
Type | Description |
---|---|
IFontMappingRule[] | The array of rules. |