[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.SystemFontCollection.ChooseFallbackFont

ChooseFallbackFont Method

ChooseFallbackFont(int, Font, bool, bool, bool, bool, bool)

Searches for a fallback font containing the given code point that looks similar to the source font.

Declaration
public Font ChooseFallbackFont(int codePoint, Font baseFont, bool bold, bool italic, bool vertical = false, bool embeddable = false, bool allowEudc = false)
Public Function ChooseFallbackFont(codePoint As Integer, baseFont As Font, bold As Boolean, italic As Boolean, Optional vertical As Boolean = False, Optional embeddable As Boolean = False, Optional allowEudc As Boolean = False) As Font
Parameters
Type Name Description
int codePoint

The code point (in UTF-32 format) missing in the source font.

Font baseFont

The source font to be replaced by a fallback font.

bool bold

Indicates if the font should be embolded.

bool italic

Indicates if the font should contain italic characters.

bool vertical

Indicates if the font should be vertical.

bool embeddable

Indicates if the searched font should support embedding.

bool allowEudc

Indicates if the linked EUDC fonts can be searched as well.

Returns
Type Description
Font

Fallback Font or null.

Implements