aspnetcore-js-devexpress-dot-richedit-80cdb82e.md
Declares settings of a font mapping rule.
export interface IFontMappingRule
A font mapping rule maps a font family (sourceFontFamily) to a destination font (destinationFontName).
See the Font Management topic to learn more about fonts in the Rich Text Editor.
Specifies a font to which a source font family is mapped.
destinationFontName: string
| Type | Description |
|---|---|
| string |
The font name.
|
The destinationFontName property specifies a font to which a source font family is mapped.
Note
The destinationFontName property value should match the name property value of a font listed in the fonts collection.
Specifies a name of a font family that is mapped.
sourceFontFamily: string
| Type | Description |
|---|---|
| string |
The font family.
|
The sourceFontFamily property specifies a font family that is mapped to a destination font.