HarfBuzzSharp 14.2.1.500-preview.1.26471.14

HarfBuzzSharp

NuGet NuGet downloads License: MIT

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

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.

Showing the top 20 packages that depend on HarfBuzzSharp.

Packages Downloads
GemBox.Spreadsheet
GemBox.Spreadsheet is a .NET component that enables developers to read, write, convert and print spreadsheet files (XLSX, XLS, ODS, CSV, HTML, PDF or XPS) from their .NET applications using one simple API.
26
GemBox.Spreadsheet
GemBox.Spreadsheet is a .NET component that enables developers to read, write, convert and print spreadsheet files (XLSX, XLS, ODS, CSV, HTML, PDF or XPS) from their .NET applications using one simple API.
35
GemBox.Spreadsheet
GemBox.Spreadsheet is a .NET component that enables developers to read, write, convert and print spreadsheet files (XLSX, XLS, ODS, CSV, HTML, PDF or XPS) from their .NET applications using one simple API.
36
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!
28
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!
48
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!
53
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!
26
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!
31
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!
33
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!
34
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!
36
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!
37
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!
40
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!
33
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!
39
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!
42
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!
57

Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release notes.

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET 10.0

.NET Framework 4.6.2

.NET Framework 4.8

.NET 6.0

.NET 6.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET 9.0

.NET Standard 2.0

.NET Standard 2.1

Version Downloads Last updated
14.4.0-preview.2.26479.13 0 30.09.2026
14.2.1.500-preview.1.26471.14 1 29.09.2026
14.2.1.400-rc.1.26479.14 1 09.10.2026
14.2.1.400-preview.2.26471.11 1 29.09.2026
14.2.1.400-preview.1.26454.9 1 12.09.2026
14.2.1.301 1 09.10.2026
14.2.1.300 1 29.09.2026
14.2.1.300-rc.1.26456.2 1 21.09.2026
14.2.1.300-preview.1.26454.6 1 12.09.2026
14.2.1.203 1 09.10.2026
14.2.1.202 1 29.09.2026
14.2.1.201 1 21.09.2026
14.2.1.200 2 12.09.2026
14.2.1.200-rc.1.26426.14 1 03.09.2026
14.2.1.105 1 09.10.2026
14.2.1.104 1 29.09.2026
14.2.1.103 1 21.09.2026
14.2.1.102 2 03.09.2026
14.2.1.5 1 09.10.2026
14.2.1.4 1 29.09.2026
14.2.1.3 2 03.09.2026
14.2.1.2 4 11.08.2026
14.2.1.1 4 20.07.2026
14.2.1 5 12.07.2026
14.2.1-rc.1.1 5 02.07.2026
14.2.1-preview.2.1 5 28.06.2026
14.2.1-preview.1.1 5 10.07.2026
14.2.0 4 28.06.2026
14.2.0-rc.1.2 6 15.06.2026
14.2.0-preview.1.1 6 19.06.2026
8.3.1.6-preview.3.1 8 26.05.2026
8.3.1.6-preview.2.1 8 17.05.2026
8.3.1.6-preview.1.1 12 04.05.2026
8.3.1.5 8 26.05.2026
8.3.1.5-preview.1.1 8 27.04.2026
8.3.1.4-preview.1.1 19 12.02.2026
8.3.1.3 13 09.02.2026
8.3.1.3-preview.3.1 10 09.02.2026
8.3.1.3-preview.2.3 9 09.02.2026
8.3.1.3-preview.1 13 25.10.2025
8.3.1.2 14 25.10.2025
8.3.1.2-preview.1 15 16.09.2025
8.3.1.1 14 15.09.2025
8.3.1.1-stable.1 15 16.09.2025
8.3.1.1-preview.1.2 16 16.09.2025
8.3.1-preview.2.3 21 16.09.2025
8.3.1-preview.1.2 15 16.09.2025
8.3.0.1 17 02.09.2025
8.3.0 19 15.09.2025
8.3.0-preview.6.1 14 16.09.2025
8.3.0-preview.5.4 21 16.09.2025
8.3.0-preview.4.1 14 16.09.2025
8.3.0-preview.3.1 14 16.09.2025
8.3.0-preview.2.1 14 16.09.2025
8.3.0-preview.1.8 17 16.09.2025
8.3.0-preview.0.132 13 16.09.2025
7.3.0.3 17 15.09.2025
7.3.0.3-preview.2.2 15 16.09.2025
7.3.0.3-preview.1.1 14 16.09.2025
7.3.0.2 18 15.09.2025
7.3.0.2-preview.1.1 20 16.09.2025
7.3.0.1 13 15.09.2025
7.3.0 20 15.09.2025
7.3.0-preview.1.2 15 16.09.2025
2.8.2.5 18 15.09.2025
2.8.2.4 19 15.09.2025
2.8.2.4-preview.96 16 16.09.2025
2.8.2.4-preview.95 14 16.09.2025
2.8.2.4-preview.89 13 16.09.2025
2.8.2.4-preview.84 16 16.09.2025
2.8.2.4-preview.82 14 16.09.2025
2.8.2.4-preview.76 15 16.09.2025
2.8.2.4-preview.70 14 16.09.2025
2.8.2.3 19 15.09.2025
2.8.2.2 14 15.09.2025
2.8.2.2-preview.8 15 16.09.2025
2.8.2.1 17 15.09.2025
2.8.2.1-preview.108 22 16.09.2025
2.8.2.1-preview.104 16 16.09.2025
2.8.2.1-preview.91 22 16.09.2025
2.8.2.1-preview.79 15 16.09.2025
2.8.2.1-preview.75 19 16.09.2025
2.8.2.1-preview.71 14 16.09.2025
2.8.2.1-preview.63 16 16.09.2025
2.8.2.1-preview.1 13 16.09.2025
2.8.2 18 15.09.2025
2.8.2-preview.266 18 16.09.2025
2.8.2-preview.256 13 16.09.2025
2.8.2-preview.254 14 16.09.2025
2.8.2-preview.232 13 16.09.2025
2.8.2-preview.209 14 16.09.2025
2.8.2-preview.187 19 16.09.2025
2.8.2-preview.179 15 16.09.2025
2.8.2-preview.178 16 16.09.2025
2.8.2-preview.155 14 16.09.2025
2.8.2-preview.152 13 16.09.2025
2.8.2-preview.150 16 16.09.2025
2.8.2-preview.145 21 16.09.2025
2.8.2-preview.140 23 16.09.2025
2.8.2-preview.139 37 16.09.2025
2.8.2-preview.127 23 16.09.2025
2.6.1.9 21 15.09.2025
2.6.1.9-preview.120 14 16.09.2025
2.6.1.9-preview.9 37 16.09.2025
2.6.1.9-preview.6 20 16.09.2025
2.6.1.9-preview.5 25 16.09.2025
2.6.1.9-preview.2 14 16.09.2025
2.6.1.8 33 15.09.2025
2.6.1.8-preview.93 29 16.09.2025
2.6.1.8-preview.90 13 16.09.2025
2.6.1.8-preview.61 32 16.09.2025
2.6.1.7 16 15.09.2025
2.6.1.7-preview.40 32 16.09.2025
2.6.1.7-preview.36 33 16.09.2025
2.6.1.7-preview.33 25 16.09.2025
2.6.1.7-preview.24 24 16.09.2025
2.6.1.7-preview.18 34 16.09.2025
2.6.1.6 35 15.09.2025
2.6.1.6-preview.19 26 16.09.2025
2.6.1.6-preview.18 34 16.09.2025
2.6.1.6-preview.9 27 16.09.2025
2.6.1.5 33 11.09.2025
2.6.1.5-preview.33 14 16.09.2025
2.6.1.5-preview.24 28 16.09.2025
2.6.1.5-preview.14 37 16.09.2025
2.6.1.5-preview.12 27 16.09.2025
2.6.1.5-preview.3 29 16.09.2025
2.6.1.4 25 15.09.2025
2.6.1.4-preview.2 22 16.09.2025
2.6.1.3 46 15.09.2025
2.6.1.2 14 15.09.2025
2.6.1.1 15 15.09.2025
2.6.1.1-preview.60 26 16.09.2025
2.6.1.1-preview.50 18 16.09.2025
2.6.1.1-preview.45 35 16.09.2025
2.6.1.1-preview.43 25 16.09.2025
2.6.1.1-preview.39 18 16.09.2025
2.6.1.1-preview.29 27 16.09.2025
2.6.1.1-preview.21 28 16.09.2025
2.6.1.1-preview.17 29 16.09.2025
2.6.1.1-preview.9 28 16.09.2025
2.6.1 30 15.09.2025
2.6.1-rc.172 30 16.09.2025
2.6.1-rc.170 33 16.09.2025
2.6.1-rc.169 31 16.09.2025
2.6.1-rc.165 23 16.09.2025
2.6.1-rc.153 37 16.09.2025
2.5.3-rc.147 14 16.09.2025
1.4.6.2 15 15.09.2025
1.4.6.2-preview28 14 16.09.2025
1.4.6.1 17 15.09.2025
1.4.6 15 15.09.2025
1.4.5 17 15.09.2025