MicroEngine.Text.Shaping
0.5.0-alpha.2
See the version list below for details.
dotnet add package MicroEngine.Text.Shaping --version 0.5.0-alpha.2
NuGet\Install-Package MicroEngine.Text.Shaping -Version 0.5.0-alpha.2
<PackageReference Include="MicroEngine.Text.Shaping" Version="0.5.0-alpha.2" />
<PackageVersion Include="MicroEngine.Text.Shaping" Version="0.5.0-alpha.2" />
<PackageReference Include="MicroEngine.Text.Shaping" />
paket add MicroEngine.Text.Shaping --version 0.5.0-alpha.2
#r "nuget: MicroEngine.Text.Shaping, 0.5.0-alpha.2"
#:package MicroEngine.Text.Shaping@0.5.0-alpha.2
#addin nuget:?package=MicroEngine.Text.Shaping&version=0.5.0-alpha.2&prerelease
#tool nuget:?package=MicroEngine.Text.Shaping&version=0.5.0-alpha.2&prerelease
MicroEngine.Text.Shaping
Shaped text for MicroEngine: ShapedFont draws scripts whose letters change
shape with their neighbours or run right to left (Arabic, Hebrew, Indic scripts) with HarfBuzz, on every platform the
engine runs on, browsers included. ShapedFont.At(size) is an IFont, so widgets, layout and wrapping use it as
they use a scalable font.
var font = ShapedFont.FromBytes(Graphics, Assets.Bytes("fonts/Inter-Regular.ttf"))
.AddFallback(Assets.Bytes("fonts/NotoSansArabic-Regular.ttf"));
font.At(32).Draw(renderer, "مرحبا", new Vector2(24, 24), Color.White);
HarfBuzz is a native library, which is why shaping is a package of its own: games that only need Latin text do not
carry it. Native HarfBuzz comes from the HarfBuzzSharp packages.
MicroEngine is in Alpha (0.x): public APIs may change incompatibly between versions; each change is listed in the migration notes. MIT licensed; HarfBuzz is under the Old MIT licence and HarfBuzzSharp under MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- HarfBuzzSharp (= 14.4.0)
- HarfBuzzSharp.NativeAssets.Linux (= 14.4.0)
- HarfBuzzSharp.NativeAssets.WebAssembly (= 14.4.0)
- MicroEngine (>= 0.5.0-alpha.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.0-alpha.1 | 35 | 11/13/2026 |
| 0.5.0-alpha.2 | 60 | 11/10/2026 |
Alpha: public APIs may change incompatibly between 0.x versions. Release notes: https://github.com/NastMz/MicroEngine/blob/main/docs/guide/release-notes.md