KernSmith.Rasterizers.Gdi 0.10.3

dotnet add package KernSmith.Rasterizers.Gdi --version 0.10.3
                    
NuGet\Install-Package KernSmith.Rasterizers.Gdi -Version 0.10.3
                    
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="KernSmith.Rasterizers.Gdi" Version="0.10.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KernSmith.Rasterizers.Gdi" Version="0.10.3" />
                    
Directory.Packages.props
<PackageReference Include="KernSmith.Rasterizers.Gdi" />
                    
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 KernSmith.Rasterizers.Gdi --version 0.10.3
                    
#r "nuget: KernSmith.Rasterizers.Gdi, 0.10.3"
                    
#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 KernSmith.Rasterizers.Gdi@0.10.3
                    
#: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=KernSmith.Rasterizers.Gdi&version=0.10.3
                    
Install as a Cake Addin
#tool nuget:?package=KernSmith.Rasterizers.Gdi&version=0.10.3
                    
Install as a Cake Tool

KernSmith.Rasterizers.Gdi

A GDI rasterizer backend for KernSmith.

Overview

This package provides a rasterizer that uses Windows GDI text rendering APIs. It is designed to match BMFont's original output for pixel-perfect parity, making it useful for validating KernSmith output against reference BMFont files.

Platform: Windows only (net8.0-windows, net10.0-windows).

Usage

Install the package and set the rasterizer backend:

dotnet add package KernSmith.Rasterizers.Gdi
var options = new FontGeneratorOptions
{
    Size = 32,
    RasterizerBackend = RasterizerBackend.Gdi
};

The rasterizer auto-registers via [ModuleInitializer], so referencing the package is sufficient.

Build

dotnet build src/KernSmith.Rasterizers.Gdi/KernSmith.Rasterizers.Gdi.csproj

See the KernSmith repository for full project documentation.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.10.3 0 3/31/2026
0.10.2 32 3/29/2026
0.10.1 31 3/29/2026