Net4x.MetroFramework.Fonts 1.4.0.26250

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

Net4x.MetroFramework.Fonts

Bundled fonts for Net4x.MetroFramework.Library, so a Metro application looks the same on machines that do not have Segoe UI.

Install

dotnet add package Net4x.MetroFramework.Fonts

That is the whole setup. There is no API to call and no configuration: the main package looks for this assembly at startup and, if it is present, routes every font request through it.

What it does

MetroFramework renders its text in Segoe UI, which ships with Windows but is not guaranteed to be there — a stripped-down image, a locked-down desktop or a Windows Server install may not have it. Without a substitute, GDI+ silently falls back to a default face and the layout shifts.

This package embeds three Open Sans faces and maps them onto the ones the framework asks for:

Requested Substituted with
Segoe UI Open Sans
Segoe UI, bold Open Sans Bold
Segoe UI Light Open Sans Light

The substitution only happens when the requested family is genuinely unavailable. On a machine that has Segoe UI, the real font is used and this package changes nothing. Fonts the framework does not ask for are never touched.

The faces are loaded from embedded resources into a private font collection, so nothing is installed on the machine and no elevation is needed.

Target frameworks

net45, net6.0-windows, net8.0-windows, net10.0-windows. Windows only.

Notes

Strong-named with the same key as the main package. The main package resolves this assembly by fully qualified strong name, so its assembly version and public key token have to match what MetroFramework.dll was built against — always take both packages from the same release.

Licence

The package is MIT, copyright (c) 2011 Sven Walter. The bundled Open Sans font is by Steve Matteson and is licensed under the Apache License 2.0; the licence text ships in the repository next to the font files.

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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 Net4x.MetroFramework.Fonts:

Package Downloads
Net4x.MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications. Install this package to automatically pull in required dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0.26250 117 9/7/2026
1.4.0 267 3/31/2025

See website for details.