Class FontFallBackRule
Represents a single font fallback rule that maps a Unicode range to a collection of fallback font names. When a character falls outside the range of the primary font, the fallback rule determines which font to use instead.
Maps to the OOXML font fallback table used for Unicode range coverage.
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public sealed class FontFallBackRule
Constructors
FontFallBackRule()
Initializes a new instance of the FontFallBackRule class.
Declaration
public FontFallBackRule()
FontFallBackRule(string, params string[])
Initializes a new instance of the FontFallBackRule class with the specified Unicode range and fallback fonts.
Declaration
public FontFallBackRule(string range, params string[] fallBackFonts)
Parameters
| Type | Name | Description |
|---|---|---|
| string | range | |
| string[] | fallBackFonts |
Properties
FallBackFonts
Gets the list of fallback font names to try when a character falls within Range.
Declaration
public IList<string> FallBackFonts { get; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Range
Gets or sets the Unicode range for this fallback rule, expressed as a hex range string (e.g. "U+0400-04FF").
Declaration
public string Range { get; set; }
Property Value
| Type | Description |
|---|---|
| string |