Class NameTable
public class NameTable
- Inheritance
-
NameTable
- Inherited Members
Constructors
NameTable(ReadOnlySpan<byte>)
public NameTable(ReadOnlySpan<byte> data)
Parameters
dataReadOnlySpan<byte>
Properties
Copyright
Copyright notice (Name ID 0)
public string? Copyright { get; }
Property Value
Description
Description of the font (Name ID 10)
public string? Description { get; }
Property Value
Designer
Designer name (Name ID 9)
public string? Designer { get; }
Property Value
DesignerURL
URL of the designer (Name ID 12)
public string? DesignerURL { get; }
Property Value
FamilyName
Font family name (Name ID 1)
public string? FamilyName { get; }
Property Value
FullName
Full font name (Name ID 4)
public string? FullName { get; }
Property Value
License
License description (Name ID 13)
public string? License { get; }
Property Value
LicenseURL
License info URL (Name ID 14)
public string? LicenseURL { get; }
Property Value
Manufacturer
Manufacturer name (Name ID 8)
public string? Manufacturer { get; }
Property Value
Names
public IReadOnlyList<NameTable.NameRecord> Names { get; }
Property Value
PostScriptName
PostScript name (Name ID 6)
public string? PostScriptName { get; }
Property Value
PreferredFamily
Preferred family (Name ID 16) — used for name linking and fallback grouping
public string? PreferredFamily { get; }
Property Value
PreferredSubfamily
Preferred subfamily (Name ID 17) — used with PreferredFamily
public string? PreferredSubfamily { get; }
Property Value
SubfamilyName
Font subfamily name (e.g. Regular, Bold) (Name ID 2)
public string? SubfamilyName { get; }
Property Value
Trademark
Trademark notice (Name ID 7)
public string? Trademark { get; }
Property Value
UniqueIdentifier
Unique font identifier (Name ID 3)
public string? UniqueIdentifier { get; }
Property Value
VendorURL
URL of the vendor (Name ID 11)
public string? VendorURL { get; }
Property Value
Version
Version string (Name ID 5)
public string? Version { get; }
Property Value
Methods
GetNameById(int)
public string? GetNameById(int id)
Parameters
idint