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 default
#rules Property
Provide access to a collection of font mapping rules.
#Declaration
rules?: IFontMappingRule[]
#Property Value
Type | Description |
---|---|
IFont |
The array of rules. |