Skip to content

Font.Metadata 0.1.0-preview.1

Pre-release
Pre-release

Choose a tag to compare

@DmitryGaravsky DmitryGaravsky released this 18 Nov 21:51
5e4fab8

First preview of Font.Metadata for .NET 10. Read font names, attribution and declared license information from TrueType/OpenType fonts, collections, WOFF, WOFF2 and EOT files. The public API may change during preview.

NuGet package What it provides
Font.Metadata A dependency-free reader that retains readable metadata and reports diagnostics for damaged or partially supported fonts.
Font.Metadata.Spdx Optional offline analysis of SPDX declarations in font metadata using Spdx.Expressions 1.0.0.
Font.Metadata.Tool The font-metadata command for inspecting files or stdin, with plain text and versioned JSON output.

Try the preview

dotnet add package Font.Metadata --version 0.1.0-preview.1
dotnet tool install --global Font.Metadata.Tool --version 0.1.0-preview.1
font-metadata inspect Example.woff2 --format json --analyze-spdx

The portable ZIP runs on Windows, Linux and macOS with the .NET 10 runtime. Extract it and run dotnet Font.Metadata.Tool.dll --help. SHA256SUMS lists the checksums for all three packages and the ZIP.

License findings retain their source records. Applications make their own licensing decisions. Unicode coverage analysis and embedded font discovery are outside the scope of this preview. CLI recipes · Supported formats and limits