Class PdfFontFace
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
KeystringPostScriptNamestringFormatPdfFontProgramFormatProgramDataReadOnlyMemory<byte>IsBoldboolIsItalicboolIsSerifboolIsFixedPitchboolIsSymbolicboolAscentdoubleDescentdoubleGlyphMatrixPdfMatrix?IsScriptbool
Properties
Ascent
public double Ascent { get; init; }
Property Value
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
Descent
public double Descent { get; init; }
Property Value
Format
public PdfFontProgramFormat Format { get; init; }
Property Value
GlyphMatrix
public PdfMatrix? GlyphMatrix { get; init; }
Property Value
IsBold
public bool IsBold { get; init; }
Property Value
IsFixedPitch
public bool IsFixedPitch { get; init; }
Property Value
IsItalic
public bool IsItalic { get; init; }
Property Value
IsScript
public bool IsScript { get; init; }
Property Value
IsSerif
public bool IsSerif { get; init; }
Property Value
IsSymbolic
public bool IsSymbolic { get; init; }
Property Value
Key
public string Key { get; init; }
Property Value
PostScriptName
public string? PostScriptName { get; init; }
Property Value
ProgramData
public ReadOnlyMemory<byte> ProgramData { get; init; }