Nedev.Fonts
1.0.0
dotnet add package Nedev.Fonts --version 1.0.0
NuGet\Install-Package Nedev.Fonts -Version 1.0.0
<PackageReference Include="Nedev.Fonts" Version="1.0.0" />
<PackageVersion Include="Nedev.Fonts" Version="1.0.0" />
<PackageReference Include="Nedev.Fonts" />
paket add Nedev.Fonts --version 1.0.0
#r "nuget: Nedev.Fonts, 1.0.0"
#:package Nedev.Fonts@1.0.0
#addin nuget:?package=Nedev.Fonts&version=1.0.0
#tool nuget:?package=Nedev.Fonts&version=1.0.0
<h1 align="center">
<img src="https://raw.githubusercontent.com/SixLabors/Branding/main/icons/fonts/nedev.fonts.512.png" alt="Nedev.Fonts" width="256"/> <br/> Nedev.Fonts </h1>
<div align="center">
</div>
Nedev.Fonts is a fork of SixLabors/Fonts and provides a cross-platform font loading and drawing library.
License
- Fonts is licensed under the Apache License, Version 2.0
- An alternative Commercial Support License can be purchased for projects and applications requiring support. Please visit https://sixlabors.com/pricing for details.
Support Six Labors
Support the efforts of the development of the Six Labors projects.
- Purchase a Commercial Support License ❤️
- Become a sponsor via GitHub Sponsors ❤️
- Become a sponsor via Open Collective ❤️
Documentation
- Detailed documentation for the Fonts API is available. This includes additional conceptual documentation to help you get started.
- Our Samples Repository is also available containing buildable code samples demonstrating common activities.
Questions
- Do you have questions? We are happy to help! Please join our Discussions Forum.
- Please read our Contribution Guide before opening issues or pull requests!
Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.
Installation
Install stable releases via Nuget; development releases are available via Feedz.io.
| Package Name | Release (NuGet) | Nightly (Feedz.io) |
|---|---|---|
Nedev.Fonts |
Manual build
If you prefer, you can compile Fonts yourself (please do and help!)
- Using Visual Studio 2019
- Make sure you have the latest version installed
- Make sure you have the .NET Core 3.1 SDK installed
Alternatively, you can work from command line and/or with a lightweight editor on both Linux/Unix and Windows:
To clone Fonts locally, click the "Clone in [YOUR_OS]" button above or run the following git commands:
git clone https://github.com/SixLabors/Fonts
If working with Windows please ensure that you have enabled log file paths in git (run as Administrator).
git config --system core.longpaths true
Submodules
This repository contains git submodules. To add the submodules to the project, navigate to the repository root and type:
git submodule update --init --recursive
Features
- Reading font description (name, family, subname etc plus other string metadata).
- Loading OpenType fonts with with CFF1 and True Type outlines.
- Loading True Type fonts.
- Loading WOFF fonts.
- Loading WOFF2 fonts.
- Load all compatible fonts from local machine store.
- Suppord for line breaking based on UAX 14
- Support for rendering left to right, right to left and bidirectional text.
- Support for ligatures.
- Support for advanced OpenType features glyph substitution (GSUB) and glyph positioning (GPOS)
API Examples
Read font description
FontDescription description = null;
using(var fs = File.OpenRead("Font.ttf")){
description = FontDescription.Load(fs); // once it has loaded the data the stream is no longer required and can be disposed of
}
string name = description.FontName(CultureInfo.InvariantCulture);
Populating a font collection
FontCollection fonts = new FontCollection();
FontFamily font1 = fonts.Add("./path/to/font1.ttf");
FontFamily font2 = fonts.Add("./path/to/font2.woff");
How can you help?
Please... Spread the word, contribute algorithms, submit performance improvements, unit tests.
Projects using Nedev.Fonts
- SixLabors.ImageSharp - cross platform, fully managed, image manipulation and drawing library.
The Nedev.Fonts Team
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- System.Runtime.CompilerServices.Unsafe (>= 4.7.0)
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Nedev.Fonts:
| Package | Downloads |
|---|---|
|
Nedev.ImageSharp.Drawing
An extension to ImageSharp that allows the drawing of images, paths, and text. |
|
|
Nedev.OpenXmlPowerTools
A cross-platform Open XML library for manipulating Office documents (Word, Excel, PowerPoint). This is a fork of Open-Xml-PowerTools with System.Drawing.Common dependency replaced by Nedev.ImageSharp for true cross-platform support. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 144 | 3/13/2026 |