Skip to content

A modern cross-platform managed FreeType2 library

License

Notifications You must be signed in to change notification settings

SearchAThing-forks/FreeTypeSharp

 
 

Repository files navigation

FreeTypeSharp

Nuget Nuget

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 Wrapped

FreeType 2.11.0

Installation

dotnet add package FreeTypeSharp

Usage

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.

Credits

About

A modern cross-platform managed FreeType2 library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%