csharp
public readonly record struct FontCoverageOne block of Unicode, and how much of it a face has.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Coverage is reported against assigned code points rather than against the block's width. Most blocks have unassigned holes, and a font that has every character in Latin-1 Supplement would otherwise report 87 % and read as incomplete. What a person wants to know is "is anything missing", and the answer has to be able to be yes-nothing.
Fields and properties (6)
public string NameWhat the block is called.
public int FirstIts first code point.
public int LastIts last, inclusive.
public int CoveredHow many of them the face has a glyph for.
public int AssignedHow many of them are assigned characters at all.
public float FractionThe fraction covered, in [0, 1].
Methods (1)
public FontCoverage(string Name, int First, int Last, int Covered, int Assigned)One block of Unicode, and how much of it a face has.
Used by (2)
- FontDocumentVixen.Editor.AssetEditors
- FontViewVixen.Editor.AssetEditors