Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IFontMappingRule Interface

Declares settings of a font mapping rule.

#Declaration

TypeScript
export interface IFontMappingRule

#Remarks

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.

#Properties

#destinationFontName Property

Specifies a font to which a source font family is mapped.

#Declaration

TypeScript
destinationFontName: string

#Property Value

Type Description
string

The font name.

#Remarks

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.

#sourceFontFamily Property

Specifies a name of a font family that is mapped.

#Declaration

TypeScript
sourceFontFamily: string

#Property Value

Type Description
string

The font family.

#Remarks

The sourceFontFamily property specifies a font family that is mapped to a destination font.