PDFsharp-net6

FontsDevHelper

Namespace: PdfSharp.Internal

Internal stuff for development of PDFsharp.

public static class FontsDevHelper

Inheritance ObjectFontsDevHelper

Methods

CreateSpecialFont(String, Double, XFontStyleEx, XPdfFontOptions, XStyleSimulations)

Creates font and enforces bold/italic simulation.

public static XFont CreateSpecialFont(string familyName, double emSize, XFontStyleEx style, XPdfFontOptions pdfOptions, XStyleSimulations styleSimulations)

Parameters

familyName String

emSize Double

style XFontStyleEx

pdfOptions XPdfFontOptions

styleSimulations XStyleSimulations

Returns

XFont

GetFontCachesState()

Dumps the font caches to a string.

public static string GetFontCachesState()

Returns

String