HarfBuzzSharp 14.2.1.200
Prefix ReservedSee the version list below for details.
dotnet add package HarfBuzzSharp --version 14.2.1.200
NuGet\Install-Package HarfBuzzSharp -Version 14.2.1.200
<PackageReference Include="HarfBuzzSharp" Version="14.2.1.200" />
<PackageVersion Include="HarfBuzzSharp" Version="14.2.1.200" />
<PackageReference Include="HarfBuzzSharp" />
paket add HarfBuzzSharp --version 14.2.1.200
#r "nuget: HarfBuzzSharp, 14.2.1.200"
#:package HarfBuzzSharp@14.2.1.200
#addin nuget:?package=HarfBuzzSharp&version=14.2.1.200
#tool nuget:?package=HarfBuzzSharp&version=14.2.1.200
HarfBuzzSharp
HarfBuzzSharp provides .NET bindings for the HarfBuzz OpenType text shaping engine. It converts Unicode text into correctly selected and positioned glyphs for complex scripts, ligatures, kerning, variable fonts, bidirectional text, and advanced typographic features.
Capabilities
- Shape text for Arabic, Indic, Southeast Asian, and other complex writing systems.
- Apply OpenType features, language, script, and direction settings.
- Inspect glyph IDs, clusters, advances, and offsets.
- Read OpenType variation axes, names, metrics, color glyph data, and layout information.
- Run on Windows, macOS, Linux, Android, iOS, Mac Catalyst, tvOS, Tizen, and WebAssembly.
- Integrate with SkiaSharp rendering through
SkiaSharp.HarfBuzz.
Get started
Install the package:
dotnet add package HarfBuzzSharp
Shape a string using an OpenType font:
using HarfBuzzSharp;
using var blob = Blob.FromFile("NotoSansArabic-Regular.ttf");
using var face = new Face(blob, 0);
using var font = new Font(face);
font.SetScale(face.UnitsPerEm, face.UnitsPerEm);
using var buffer = new HarfBuzzSharp.Buffer();
buffer.AddUtf8("مرحبا بالعالم");
buffer.GuessSegmentProperties();
font.Shape(buffer);
foreach (var glyph in buffer.GlyphInfos)
Console.WriteLine($"Glyph {glyph.Codepoint}, cluster {glyph.Cluster}");
For drawing shaped text with SkiaSharp, install SkiaSharp.HarfBuzz and use SKShaper:
dotnet add package SkiaSharp.HarfBuzz
Linux and WebAssembly: add the matching
HarfBuzzSharp.NativeAssets.*package directly to the application project when the target does not receive native assets transitively. See the package deployment guide.
Documentation and resources
- HarfBuzzSharp API reference on Microsoft Learn
- SkiaSharp.HarfBuzz API reference
- HarfBuzz documentation
- SkiaSharp package and deployment guide
- SkiaSharp samples
Feedback and contributing
HarfBuzzSharp is part of the open-source SkiaSharp project from Microsoft. Use GitHub Discussions for questions, file bugs and feature requests in the issue tracker, and read the contributing guide to get involved.
HarfBuzzSharp is released under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tizen8.0 is compatible. 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 was computed. 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 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-macos15.0 is compatible. net9.0-tizen8.0 is compatible. net9.0-tvos was computed. net9.0-tvos18.0 is compatible. net9.0-windows was computed. net9.0-windows10.0.19041 is compatible. net10.0 is compatible. net10.0-android was computed. net10.0-android36.0 is compatible. net10.0-browser was computed. net10.0-ios was computed. net10.0-ios26.0 is compatible. net10.0-maccatalyst was computed. net10.0-maccatalyst26.0 is compatible. net10.0-macos was computed. net10.0-macos26.0 is compatible. net10.0-tizen10.0 is compatible. net10.0-tvos was computed. net10.0-tvos26.0 is compatible. net10.0-windows was computed. net10.0-windows10.0.19041 is compatible. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.1.200)
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.1.200)
- System.Memory (>= 4.6.3)
-
.NETFramework 4.8
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.1.200)
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.1.200)
- System.Memory (>= 4.6.3)
-
.NETStandard 2.0
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.1.200)
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.1.200)
- System.Memory (>= 4.6.3)
-
.NETStandard 2.1
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.1.200)
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.1.200)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
-
net10.0
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.1.200)
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.1.200)
-
net10.0-android36.0
- HarfBuzzSharp.NativeAssets.Android (>= 14.2.1.200)
-
net10.0-ios26.0
- HarfBuzzSharp.NativeAssets.iOS (>= 14.2.1.200)
-
net10.0-maccatalyst26.0
- HarfBuzzSharp.NativeAssets.MacCatalyst (>= 14.2.1.200)
-
net10.0-macos26.0
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.1.200)
-
net10.0-tizen10.0
- HarfBuzzSharp.NativeAssets.Tizen (>= 14.2.1.200)
-
net10.0-tvos26.0
- HarfBuzzSharp.NativeAssets.tvOS (>= 14.2.1.200)
-
net10.0-windows10.0.19041
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.1.200)
-
net6.0
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.1.200)
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.1.200)
-
net6.0-tizen8.0
- HarfBuzzSharp.NativeAssets.Tizen (>= 14.2.1.200)
-
net9.0
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.1.200)
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.1.200)
-
net9.0-android35.0
- HarfBuzzSharp.NativeAssets.Android (>= 14.2.1.200)
-
net9.0-ios18.0
- HarfBuzzSharp.NativeAssets.iOS (>= 14.2.1.200)
-
net9.0-maccatalyst18.0
- HarfBuzzSharp.NativeAssets.MacCatalyst (>= 14.2.1.200)
-
net9.0-macos15.0
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.1.200)
-
net9.0-tizen8.0
- HarfBuzzSharp.NativeAssets.Tizen (>= 14.2.1.200)
-
net9.0-tvos18.0
- HarfBuzzSharp.NativeAssets.tvOS (>= 14.2.1.200)
-
net9.0-windows10.0.19041
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.1.200)
NuGet packages (132)
Showing the top 5 NuGet packages that depend on HarfBuzzSharp:
| Package | Downloads |
|---|---|
|
SkiaSharp.HarfBuzz
This package adds text shaping support to SkiaSharp via HarfBuzz. |
|
|
GemBox.Spreadsheet
GemBox.Spreadsheet is a .NET component that enables you to read, write, convert, and print spreadsheet files (XLSX, XLS, XLSB, CSV, HTML, and ODS) from .NET applications. With GemBox.Spreadsheet you get a fast and reliable component that's easy to use and doesn't depend on Microsoft Excel. It requires only .NET and it's much faster than Microsoft Office Automation! |
|
|
Avalonia.Skia
Avalonia is a cross-platform UI framework for .NET providing a flexible styling system and supporting a wide range of Operating Systems such as Windows, Linux, macOS and with experimental support for Android, iOS and WebAssembly. |
|
|
Svg.Skia
An SVG rendering library. |
|
|
GemBox.Document
GemBox.Document is a .NET component that enables developers to read, write, convert and print document files (DOCX, DOC, ODT, PDF, HTML, XPS, RTF, TXT) from .NET applications in a simple and efficient way. |
GitHub repositories (22)
Showing the top 20 popular GitHub repositories that depend on HarfBuzzSharp:
| Repository | Stars |
|---|---|
|
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The future of .NET UI
|
|
|
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
|
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop, and Embedded apps from a single C#/XAML codebase. Work from any IDE/CLI with Hot Reload, Visual Designer, MCPs, and Skills built for modern .NET workflows. 200M+ NuGet downloads.
|
|
|
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
|
|
|
lay295/TwitchDownloader
Twitch VOD/Clip Downloader - Chat Download/Render/Replay
|
|
|
Uotan-Dev/UotanToolboxNT
现代化 Android & OpenHarmony 工具箱 | A Modern Toolbox for Android & OpenHarmony Devices
|
|
|
Mapsui/Mapsui
Mapsui is a .NET Map component for: MAUI, Avalonia, Uno Platform, Blazor, WPF, WinUI, Windows Forms, Eto Forms, .NET for Android and .NET for iOS
|
|
|
b-editor/beutl
Cross-platform video editing (compositing) software.
|
|
|
SnapXL/SnapX
SnapX is a free, open-source, cross-platform tool that lets you capture or record any area of your screen and instantly share it with a single keypress. Upload images, videos, text, and more to multiple supported destinations—all with ease. ShareX fork
|
|
|
modern-forms/Modern.Forms
Cross-platform spiritual successor to Winforms for .NET 8+
|
|
|
wieslawsoltes/Svg.Skia
An SVG rendering library.
|
|
|
DrawnUi/DrawnUi.Net
Rendering engine for .NET MAUI, Blazor, OpenTK and pure .NET powered by SkiaSharp 🎨
|
|
|
Redth/ResizetizerNT
Add SVG's and PNG's to your shared Xamarin Project
|
|
|
mono/SkiaSharp.Extended
SkiaSharp is a cross-platform, comprehensive 2D graphics API for all .NET platforms. And, here is where you will find all sorts of extras that you can use with it.
|
|
|
unoplatform/Uno.Samples
A collection of code samples for the Uno Platform
|
|
|
Samsung/Tizen-CSharp-Samples
Tizen C# Samples for Mobile, Wearable, and TV profiles.
|
|
|
wieslawsoltes/VelloSharp
.NET bindings for vello a GPU compute-centric 2D renderer.
|
|
|
dansiegel/Mobile.BuildTools
The Mobile.BuildTools makes it easier to develop code bases in a clean, consistent, secure, and configurable way. Determine at Build which environment your app needs to run on, and what Client Secrets it should have. Plus many more amazing features!
|
|
|
lindexi/lindexi_gd
博客用到的代码
|
|
|
AvaloniaUI/XamlControlsGallery
|
| Version | Downloads | Last Updated |
|---|---|---|
| 14.2.1.400-preview.1.26454.9 | 116 | 9/5/2026 |
| 14.2.1.300-preview.1.26454.6 | 91 | 9/5/2026 |
| 14.2.1.200 | 1,163 | 9/9/2026 |
| 14.2.1.200-rc.1.26426.14 | 300 | 8/27/2026 |
| 14.2.1.102 | 7,299 | 9/3/2026 |
| 14.2.1.3 | 414 | 9/2/2026 |
| 14.2.1.2 | 30,513 | 8/5/2026 |
| 14.2.1.1 | 145,596 | 7/14/2026 |
| 14.2.1 | 27,880 | 7/8/2026 |
| 14.2.1-rc.1.1 | 741 | 6/30/2026 |
| 14.2.1-preview.2.1 | 245 | 6/25/2026 |
| 14.2.1-preview.1.1 | 516 | 7/2/2026 |
| 14.2.0 | 185,449 | 6/23/2026 |
| 14.2.0-rc.1.2 | 663 | 6/14/2026 |
| 14.2.0-preview.1.1 | 183 | 6/15/2026 |
| 8.3.1.6-preview.3.1 | 1,364 | 5/25/2026 |
| 8.3.1.6-preview.2.1 | 1,713 | 5/11/2026 |
| 8.3.1.6-preview.1.1 | 445 | 4/28/2026 |
| 8.3.1.5 | 208,366 | 5/25/2026 |
| 8.3.1.5-preview.1.1 | 2,659 | 4/23/2026 |
Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.