Skip to content

Font.Metadata 1.0.0

Choose a tag to compare

@DmitryGaravsky DmitryGaravsky released this 21 Nov 14:52
47a8f21

Font.Metadata 1.0.0 adds Unicode coverage, variation axes, and license document inspection to the .NET 10 library and CLI.

Font inspection

  • Use font-metadata inspect font.ttf --include-unicode-coverage to list Unicode ranges from supported format 4 and 12 cmap subtables.
  • Ordinary inspection reports axes for declared fvar tables. Add --include-variation-axes to report axis status for every face, including faces in a collection.
  • Coverage and axes report their own status and diagnostics. The CLI keeps JSON schema version 1.

License evidence

  • Use font-metadata inspect-license OFL.txt --format json to inspect a supplied license document. The report retains SPDX declarations, recognized headings, full-text matches, and original text offsets. Fully read files include a SHA-256 digest.
  • The built-in catalog recognizes selected texts for nine license identifiers. Library callers can extend or replace it for an individual analysis.
  • The optional SPDX adapter uses Spdx.Expressions 1.1.0. Examples show how to display registry metadata and resolve document-scoped license references.

Installation

dotnet add package Font.Metadata --version 1.0.0
dotnet add package Font.Metadata.Spdx --version 1.0.0
dotnet tool install --global Font.Metadata.Tool --version 1.0.0

The portable ZIP requires the .NET 10 runtime. Extract it and run dotnet Font.Metadata.Tool.dll --help. The release includes SHA256SUMS for the three NuGet packages and the portable ZIP.

Changes since 0.1.0-preview.1