Table of Contents

Class SystemFontLoader

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

An implementation of the IFontLoader interface that loads font bytes from well-known system font folders.

public sealed class SystemFontLoader : IFontLoader
Inheritance
SystemFontLoader
Implements
Inherited Members

Remarks

On all platforms this class looks into the folder returned by the Environment.GetFolderPath(Environment.SpecialFolder.Fonts) call.

On macOS, Linux, and FreeBSD platforms this class also looks into some other well-known folders. Check Directories property to get the full collection of used paths.

Properties

Directories

Exposes the enumerator for font directory names used by this loader.

Instance

Returns the only instance of the SystemFontLoader.

Methods

Load(string, bool, bool)

Loads font bytes by checking font files in the well-known system font folders.

Reset()

Resets the font loader. The loader will re-read all font folders on the next attempt to load a font.