![]() |
VOOZH | about |
dotnet add package SixLabors.Fonts --version 3.0.0
NuGet\Install-Package SixLabors.Fonts -Version 3.0.0
<PackageReference Include="SixLabors.Fonts" Version="3.0.0" />
<PackageVersion Include="SixLabors.Fonts" Version="3.0.0" />Directory.Packages.props
<PackageReference Include="SixLabors.Fonts" />Project file
paket add SixLabors.Fonts --version 3.0.0
#r "nuget: SixLabors.Fonts, 3.0.0"
#:package SixLabors.Fonts@3.0.0
#addin nuget:?package=SixLabors.Fonts&version=3.0.0Install as a Cake Addin
#tool nuget:?package=SixLabors.Fonts&version=3.0.0Install as a Cake Tool
👁 Build Status
👁 codecov
👁 License: Six Labors Split
SixLabors.Fonts is a cross-platform library for loading, measuring, and laying out fonts and text. It supports TrueType and OpenType fonts (including CFF1 and CFF2 outlines), WOFF/WOFF2 web fonts, variable fonts, color fonts (COLR v0/v1 and SVG), and TrueType hinting. The library provides a full OpenType layout engine with GSUB/GPOS support, advanced text shaping for complex scripts, and bidirectional text rendering.
Fonts also exposes high-level text layout primitives for applications that need more than a single bounding box. Callers can measure advance, ink bounds, renderable bounds, lines, words, graphemes, and glyphs; reuse prepared text across multiple wrapping widths; inspect the resolved font used to shape and render fallback glyphs; and use built-in hit testing, caret placement, and selection geometry.
Support the efforts of the development of the Six Labors projects.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
Install stable releases via Nuget; development releases are available via Feedz.io.
| Package Name | Release (NuGet) | Nightly (Feedz.io) |
|---|---|---|
SixLabors.Fonts |
👁 NuGet |
👁 feedz.io |
If you prefer, you can compile Fonts yourself (please do and help!)
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
This repository contains git submodules. To add the submodules to the project, navigate to the repository root and type:
git submodule update --init --recursive
This repository uses LFS Large File Storage. To configure it for the project, navigate to the repository root and type:
git lfs install
git lfs pull
TextBlock.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);
FontCollection fonts = new FontCollection();
FontFamily font1 = fonts.Add("./path/to/font1.ttf");
FontFamily font2 = fonts.Add("./path/to/font2.woff");
Please... Spread the word, contribute algorithms, submit performance improvements, unit tests.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on SixLabors.Fonts:
| Package | Downloads |
|---|---|
|
ClosedXML
See release notes https://github.com/ClosedXML/ClosedXML/releases/tag/0.105.0 ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API. |
|
|
SixLabors.ImageSharp.Drawing
Drawing extensions for ImageSharp with support for shapes, paths, text, and image rendering. |
|
|
PdfSharpCore
PdfSharp for .NET Core PdfSharpCore is a partial port of PdfSharp.Xamarin for .NET Core Additionally MigraDoc has been ported as well (from version 1.32). Images have been implemented with ImageSharp from https://www.nuget.org/packages/SixLabors.ImageSharp |
|
|
Stimulsoft.Reports.Engine.NetCore
DEPRECATED: This package will be discontinued in future versions. Please switch to the https://www.nuget.org/packages/Stimulsoft.Reports.Engine package, which includes the full functionality of this package along with additional features, libraries, and framework support. The native .NET Core cross platform report engine is a part of the reporting tool for .NET Core and .NET frameworks, that renders reports from getting data from the source, building bands, calculating aggregate functions, charting, applying styles, conditions, filtering, sorting, and more. Also, the report engine has algorithms for exporting reports to various formats such as PDF, Rich Text, Excel, and others. |
|
|
SixLabors.Shapes.Text
Allows generating glyphs for text and a fonts for manipulation using SixLabors.Shapes |
Showing the top 20 popular GitHub repositories that depend on SixLabors.Fonts:
| Repository | Stars |
|---|---|
|
ClosedXML/ClosedXML
ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API.
|
|
|
cyanfish/naps2
Scan documents to PDF and more, as simply as possible.
|
|
|
peachpiecompiler/peachpie
PeachPie - the PHP compiler and runtime for .NET and .NET Core
|
|
|
Webreaper/Damselfly
Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
|
|
|
ststeiger/PdfSharpCore
Port of the PdfSharp library to .NET Core - largely removed GDI+ (only missing GetFontData - which can be replaced with freetype2)
|
|
|
swharden/Csharp-Data-Visualization
Resources for visualizing data using C# and the .NET platform
|
|
|
xianhc/ape-volo-admin
基于.Net 8 、SqlSugar ORM、Vue 3、RBAC 面向企业场景的权限管理/后台管理系统解决方案
|
|
|
SparkDevNetwork/Rock
An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
|
|
|
jhaygood86/PeachPDF
Peach PDF is a pure .NET HTML -> PDF rendering library
|
|
|
hypar-io/Elements
The smallest useful BIM.
|
|
|
Tagliatti/NetBarcode
Barcode generation library written in C# and .NET Standard 2
|
|
|
dem-net/DEM.Net
Digital Elevation model library in C#. 3D terrain models, line/point Elevations, intervisibility reports
|
|
|
Topkill/tianruoocr
天若OCR开源6.0版本,续更开源5.0版,全新版本,全新出发
|
|
|
SixLabors/ImageSharp.Drawing
:pen: Extensions to ImageSharp containing a cross-platform 2D polygon manipulation API and drawing operations.
|
|
|
MayDay-wpf/AIBotPublic
AIBot PRO 是一个基于.NET 8 的 AI聚合客户端 to C 弱 to B 可以集成众多AI产品(ChatGPT,Gemini,Claude,文心一言,通义千问,讯飞星火),无感切换对话,支持知识库、插件开发、AI流程引擎(workflow)、以及开放平台对外输出定制化的特色AI API
|
|
|
karaoke-dev/karaoke
Will be the best karaoke system.
|
|
|
maker-community/ElectronBot.DotNet
一个为ElectronBot机器人和瀚文键盘(HelloWorldKeyboard)开发的上位机软件(包含机器人USB操作SDK和瀚文键盘HID操作SDK),采用Windows App SDK框架编写界面。 A host computer software developed for ElectronBot robots (including robot USB operation SDK), using the Windows App SDK framework to write UI.
|
|
|
SilkCommunity/TrippyGL
A simple, lightweight yet highly versatile OpenGL graphics library
|
|
|
carlreid/StreamMaster
A powerful M3U proxy and stream management platform for Plex DVR, Emby, Jellyfin Live TV (and more)
|
|
|
TheFlyingFoool/DuckGameRebuilt
Duck Game decompiled & rebuilt with some added features,
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0 | 59,328 | 5/12/2026 |
| 2.1.3 | 6,480,819 | 4/26/2025 |
| 2.1.2 | 583,293 | 2/2/2025 |
| 2.1.1 | 23,920 | 1/30/2025 |
| 2.1.0 | 105,171 | 1/21/2025 |
| 2.0.9 | 56,628 | 1/10/2025 |
| 2.0.8 | 1,382,326 | 1/8/2025 |
| 2.0.7 | 167,568 | 12/16/2024 |
| 2.0.6 | 383,231 | 10/30/2024 |
| 2.0.5 | 20,243 | 10/30/2024 |
| 2.0.4 | 5,771,307 | 6/29/2024 |
| 2.0.3 | 2,182,009 | 3/28/2024 |
| 2.0.2 | 383,965 | 2/15/2024 |
| 2.0.1 | 2,181,145 | 12/1/2023 |
| 2.0.0 | 2,579,426 | 9/15/2023 |
| 1.0.1 | 26,125,580 | 9/15/2023 |
| 1.0.0 | 97,046,880 | 8/11/2023 |
| 1.0.0-beta19 | 9,637,384 | 10/30/2022 |
| 1.0.0-beta18 | 22,814,116 | 7/22/2022 |
| 1.0.0-beta17 | 21,867,539 | 5/18/2022 |