Table of Contents

Class PdfFontFace

Namespace
PdfEngine.Vector
Assembly
PdfEngine.Abstractions.dll

Backend-neutral identity of the font used by a glyph run. Carries the embedded program so a backend can render the author's glyphs; carries style hints for substitution when it cannot.

public sealed record PdfFontFace : IEquatable<PdfFontFace>
Inheritance
PdfFontFace
Implements
Inherited Members

Constructors

PdfFontFace(string, string?, PdfFontProgramFormat, ReadOnlyMemory<byte>, bool, bool, bool, bool, bool, double, double, PdfMatrix?, bool)

Backend-neutral identity of the font used by a glyph run. Carries the embedded program so a backend can render the author's glyphs; carries style hints for substitution when it cannot.

public PdfFontFace(string Key, string? PostScriptName, PdfFontProgramFormat Format, ReadOnlyMemory<byte> ProgramData, bool IsBold = false, bool IsItalic = false, bool IsSerif = false, bool IsFixedPitch = false, bool IsSymbolic = false, double Ascent = 0.8, double Descent = -0.2, PdfMatrix? GlyphMatrix = null, bool IsScript = false)

Parameters

Key string
PostScriptName string
Format PdfFontProgramFormat
ProgramData ReadOnlyMemory<byte>
IsBold bool
IsItalic bool
IsSerif bool
IsFixedPitch bool
IsSymbolic bool
Ascent double
Descent double
GlyphMatrix PdfMatrix?
IsScript bool

Properties

Ascent

public double Ascent { get; init; }

Property Value

double

CidOrdering

The CIDSystemInfo /Ordering of a composite font's Adobe character collection (Japan1, GB1, CNS1, Korea1), else null: the language a substitute for CJK text is chosen for.

public string? CidOrdering { get; init; }

Property Value

string

Descent

public double Descent { get; init; }

Property Value

double

Format

public PdfFontProgramFormat Format { get; init; }

Property Value

PdfFontProgramFormat

GlyphMatrix

public PdfMatrix? GlyphMatrix { get; init; }

Property Value

PdfMatrix?

IsBold

public bool IsBold { get; init; }

Property Value

bool

IsFixedPitch

public bool IsFixedPitch { get; init; }

Property Value

bool

IsItalic

public bool IsItalic { get; init; }

Property Value

bool

IsScript

public bool IsScript { get; init; }

Property Value

bool

IsSerif

public bool IsSerif { get; init; }

Property Value

bool

IsSymbolic

public bool IsSymbolic { get; init; }

Property Value

bool

Key

public string Key { get; init; }

Property Value

string

PostScriptName

public string? PostScriptName { get; init; }

Property Value

string

ProgramData

public ReadOnlyMemory<byte> ProgramData { get; init; }

Property Value

ReadOnlyMemory<byte>