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

IFontMapping Interface

Declares font mapping settings.

#Declaration

TypeScript
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

TypeScript
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

TypeScript

#Property Value

Type Description
IFontMappingRule[]

The array of rules.