A modern managed FreeType2 library based on the freetype2 code in the ultraviolet project.
FreeTypeSharp v2+ provides cross-platform bindings for:
- netcoreapp3.1;net5.0;net6.0 (Windows, Linux, macOS)
- net6.0-android
- net6.0-ios
- net6.0-tvos
- netstandard2.0 (UWP)
README for release v1.X
FreeType 2.11.0
dotnet add package FreeTypeSharp
There's no magic(abstraction) based on the original C freetype API. All managed API are almost identical with the original freetype C API. Import the namespaces like using FreeTypeSharp.Native;
and using static FreeTypeSharp.Native.FT;
, then you can play the font rendering as what you do in C.
Optionally, a facade FreeTypeFaceFacade
was provided to handle some basic job. Feel free to use it.