Class NameInfo
Human-readable strings from the font's 'name' table: family, style, copyright, etc.
public sealed record NameInfo : IEquatable<NameInfo>
- Inheritance
-
NameInfo
- Implements
- Inherited Members
Constructors
NameInfo(string?, string?, string?, string?, string?, string?, string?, string?, string?, string?, string?, string?, string?)
Human-readable strings from the font's 'name' table: family, style, copyright, etc.
public NameInfo(string? FontFamily, string? FontSubfamily, string? FullName, string? PostScriptName, string? Copyright, string? Trademark, string? UniqueId = null, string? Version = null, string? Manufacturer = null, string? Designer = null, string? Description = null, string? License = null, string? LicenseUrl = null)
Parameters
FontFamilystringFamily name like "Roboto" or "Arial".
FontSubfamilystringStyle name like "Regular" or "Bold".
FullNamestringFull display name like "Roboto Bold Italic".
PostScriptNamestringPostScript name (used by PDF renderers and such).
CopyrightstringCopyright text, if the font includes one.
TrademarkstringTrademark text, if the font includes one.
UniqueIdstringUnique font identifier (name ID 3).
VersionstringVersion string (name ID 5).
ManufacturerstringFont manufacturer name (name ID 8).
DesignerstringFont designer name (name ID 9).
DescriptionstringFont description (name ID 10).
LicensestringLicense description (name ID 13).
LicenseUrlstringLicense info URL (name ID 14).
Properties
Copyright
Copyright text, if the font includes one.
public string? Copyright { get; init; }
Property Value
Description
Font description (name ID 10).
public string? Description { get; init; }
Property Value
Designer
Font designer name (name ID 9).
public string? Designer { get; init; }
Property Value
FontFamily
Family name like "Roboto" or "Arial".
public string? FontFamily { get; init; }
Property Value
FontSubfamily
Style name like "Regular" or "Bold".
public string? FontSubfamily { get; init; }
Property Value
FullName
Full display name like "Roboto Bold Italic".
public string? FullName { get; init; }
Property Value
License
License description (name ID 13).
public string? License { get; init; }
Property Value
LicenseUrl
License info URL (name ID 14).
public string? LicenseUrl { get; init; }
Property Value
Manufacturer
Font manufacturer name (name ID 8).
public string? Manufacturer { get; init; }
Property Value
PostScriptName
PostScript name (used by PDF renderers and such).
public string? PostScriptName { get; init; }
Property Value
Trademark
Trademark text, if the font includes one.
public string? Trademark { get; init; }
Property Value
UniqueId
Unique font identifier (name ID 3).
public string? UniqueId { get; init; }
Property Value
Version
Version string (name ID 5).
public string? Version { get; init; }