Table of Contents

Class SystemFontFace

Namespace
PdfEngine.Vector.Fonts
Assembly
PdfEngine.Vector.dll

An installed font face: where it is and what it is called.

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

Constructors

SystemFontFace(string, int, string, string, string, int, bool, string?, bool)

An installed font face: where it is and what it is called.

public SystemFontFace(string Path, int Index, string Family, string Subfamily, string PostScriptName, int Weight, bool Italic, string? LegacyFamily = null, bool OpenTypeCff = false)

Parameters

Path string
Index int
Family string
Subfamily string
PostScriptName string
Weight int
Italic bool
LegacyFamily string

The family as older software names it ("Arial Narrow" where the typographic family is "Arial").

OpenTypeCff bool

The face has CFF outlines (an .otf file, or a CFF face of a .ttc collection).

Properties

Bold

public bool Bold { get; }

Property Value

bool

Family

public string Family { get; init; }

Property Value

string

Index

public int Index { get; init; }

Property Value

int

Italic

public bool Italic { get; init; }

Property Value

bool

LegacyFamily

The family as older software names it ("Arial Narrow" where the typographic family is "Arial").

public string? LegacyFamily { get; init; }

Property Value

string

OpenTypeCff

The face has CFF outlines (an .otf file, or a CFF face of a .ttc collection).

public bool OpenTypeCff { get; init; }

Property Value

bool

Path

public string Path { get; init; }

Property Value

string

PostScriptName

public string PostScriptName { get; init; }

Property Value

string

Subfamily

public string Subfamily { get; init; }

Property Value

string

Weight

public int Weight { get; init; }

Property Value

int