Class SystemFontFace
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
PathstringIndexintFamilystringSubfamilystringPostScriptNamestringWeightintItalicboolLegacyFamilystringThe family as older software names it ("Arial Narrow" where the typographic family is "Arial").
OpenTypeCffboolThe face has CFF outlines (an
.otffile, or a CFF face of a.ttccollection).
Properties
Bold
public bool Bold { get; }
Property Value
Family
public string Family { get; init; }
Property Value
Index
public int Index { get; init; }
Property Value
Italic
public bool Italic { get; init; }
Property Value
LegacyFamily
The family as older software names it ("Arial Narrow" where the typographic family is "Arial").
public string? LegacyFamily { get; init; }
Property Value
OpenTypeCff
The face has CFF outlines (an .otf file, or a CFF face of a .ttc collection).
public bool OpenTypeCff { get; init; }
Property Value
Path
public string Path { get; init; }
Property Value
PostScriptName
public string PostScriptName { get; init; }
Property Value
Subfamily
public string Subfamily { get; init; }
Property Value
Weight
public int Weight { get; init; }