Table of Contents

Class NameInfo

Namespace
KernSmith.Font.Tables
Assembly
KernSmith.dll

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

FontFamily string

Family name like "Roboto" or "Arial".

FontSubfamily string

Style name like "Regular" or "Bold".

FullName string

Full display name like "Roboto Bold Italic".

PostScriptName string

PostScript name (used by PDF renderers and such).

Copyright string

Copyright text, if the font includes one.

Trademark string

Trademark text, if the font includes one.

UniqueId string

Unique font identifier (name ID 3).

Version string

Version string (name ID 5).

Manufacturer string

Font manufacturer name (name ID 8).

Designer string

Font designer name (name ID 9).

Description string

Font description (name ID 10).

License string

License description (name ID 13).

LicenseUrl string

License info URL (name ID 14).

Properties

Copyright text, if the font includes one.

public string? Copyright { get; init; }

Property Value

string

Description

Font description (name ID 10).

public string? Description { get; init; }

Property Value

string

Designer

Font designer name (name ID 9).

public string? Designer { get; init; }

Property Value

string

FontFamily

Family name like "Roboto" or "Arial".

public string? FontFamily { get; init; }

Property Value

string

FontSubfamily

Style name like "Regular" or "Bold".

public string? FontSubfamily { get; init; }

Property Value

string

FullName

Full display name like "Roboto Bold Italic".

public string? FullName { get; init; }

Property Value

string

License

License description (name ID 13).

public string? License { get; init; }

Property Value

string

LicenseUrl

License info URL (name ID 14).

public string? LicenseUrl { get; init; }

Property Value

string

Manufacturer

Font manufacturer name (name ID 8).

public string? Manufacturer { get; init; }

Property Value

string

PostScriptName

PostScript name (used by PDF renderers and such).

public string? PostScriptName { get; init; }

Property Value

string

Trademark

Trademark text, if the font includes one.

public string? Trademark { get; init; }

Property Value

string

UniqueId

Unique font identifier (name ID 3).

public string? UniqueId { get; init; }

Property Value

string

Version

Version string (name ID 5).

public string? Version { get; init; }

Property Value

string