Table of Contents

Class XFontSource

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

The bytes of a font file.

public class XFontSource
Inheritance
object
XFontSource

Properties

Bytes

Gets the bytes of the font.

FontFaceKey

//??? What??? Gets the name of the font’s name table.

OTFontSource

Methods

CreateCompiledFont(byte[])

Creates a font source from a byte array.

CreateFromFile(string)

Creates an XFontSource from a font file.

CreateFromFile(Uri)

Creates an XFontSource from a uri to a font file.

Equals(object?)

Determines whether the specified object is equal to the current object.

GetHashCode()

Returns a hash code for this instance.

GetOrCreateFrom(OpenTypeFontSource)
GetOrCreateFrom(byte[])

Gets an existing font source or creates a new one. A new font source is cached in font factory.