FontSettings Class
Contents
[
Hide
]FontSettings class
Where faces come from. Configured faces come before the bundled fallback, and the machine’s installed fonts, when FontSettings.UseSystemFonts, come last.
public sealed class FontSettings
Constructors
| Name | Description |
|---|---|
| FontSettings() | Initializes a new instance of the FontSettings class. |
Properties
| Name | Description |
|---|---|
| FallbackFamilies { get; set; } | Family names tried, in order, for the initial face. Default empty. |
| FontsLookupFolder { get; } | The configured folder, or null. |
| Provider { get; set; } | Supplies font bytes at conversion start. Default null. |
| UseBundledFonts { get; set; } | Whether the bundled fallback corpus is used. Default true. |
| UseSystemFonts { get; set; } | Whether the machine’s installed fonts are the last fallback: a character no configured and no bundled face maps takes an installed face that maps it. Family names never resolve to an installed face. Default true; false reads no installed font. |
Methods
| Name | Description |
|---|---|
| AddFont(byte[]) | Adds one font from bytes; the bytes are copied. |
| AddFontFile(string) | Adds one font file (TrueType, OpenType or a collection). |
| SetFontsLookupFolder(string) | Replaces the configured folder; every font file in it is a face source. |
See Also
- namespace Aspose.Css
- assembly Aspose.CSS