SharpAstro.Fonts 0.2.61

This package has a SemVer 2.0.0 package version: 0.2.61+25d3f288cade1b7b7bc5f3375c0911759765f8c1.
There is a newer version of this package available.
See the version list below for details.
dotnet add package SharpAstro.Fonts --version 0.2.61
                    
NuGet\Install-Package SharpAstro.Fonts -Version 0.2.61
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharpAstro.Fonts" Version="0.2.61" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpAstro.Fonts" Version="0.2.61" />
                    
Directory.Packages.props
<PackageReference Include="SharpAstro.Fonts" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SharpAstro.Fonts --version 0.2.61
                    
#r "nuget: SharpAstro.Fonts, 0.2.61"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SharpAstro.Fonts@0.2.61
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SharpAstro.Fonts&version=0.2.61
                    
Install as a Cake Addin
#tool nuget:?package=SharpAstro.Fonts&version=0.2.61
                    
Install as a Cake Tool

SharpAstro.Fonts

A pure-managed, MIT-licensed C# library for loading and rendering OpenType / TrueType fonts. Designed to replace the native FreeType2 dependency for DIR.Lib and related projects.

Status

Pre-alpha. Phase 1 only (SFNT directory + cmap + head/maxp). Not yet suitable for any production use. See ROADMAP.md for the full phase plan.

Until parity is reached, DIR.Lib continues to use SharpAstro.FreeTypeBindings.

Goals

  • 100% managed C#, AOT-compatible, no native dependencies.
  • Thread-safe by construction (immutable font records, per-call rasterizer state, no global mutable state).
  • MIT-licensed end to end. No code is copied from FreeType, SixLabors.Fonts, HarfBuzz, or other non-MIT sources.
  • Feature parity with the FreeType subset that DIR.Lib actually exercises: TrueType + CFF/CFF2 outlines, hinting, COLR v0/v1, CBDT/sbix, variable fonts, PostScript Type 1 / CID Type 0 (for embedded PDF subset fonts).

License

MIT — see LICENSE.

Specifications used as reference

All public, freely-implementable specs:

Layout

src/SharpAstro.Fonts/         pure library
tests/SharpAstro.Fonts.Tests/ xUnit v3 tests + font fixtures
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SharpAstro.Fonts:

Package Downloads
DIR.Lib

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.91 29 4/15/2026
0.2.81 24 4/14/2026
0.2.71 29 4/14/2026
0.2.61 99 4/14/2026
0.1.51 60 4/14/2026