Table of Contents

Class PdfFontRegistry

Namespace
nebulae.dotPDFium
Assembly
dotPDFium.dll

Manages system font registration and integration with the PDFium engine.

public static class PdfFontRegistry
Inheritance
PdfFontRegistry
Inherited Members

Methods

AddInstalledFont(string, int)

Registers an installed font with the specified face name and charset.

public static void AddInstalledFont(string faceName, int charset = 0)

Parameters

faceName string

Font face name (e.g., 'Arial')

charset int

Windows charset code, usually 0 (ANSI)

Dispose()

Frees the font system resources. Call this once on shutdown.

public static void Dispose()

GetInstalledFontNames()

public static IEnumerable<string> GetInstalledFontNames()

Returns

IEnumerable<string>

Initialize()

Initializes the font registry using PDFium's default system font provider.

public static void Initialize()