Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ryancheung committed Mar 20, 2024
1 parent 48197e9 commit 6d1564a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# FreeTypeSharp
[![Nuget](https://img.shields.io/nuget/v/FreeTypeSharp)](https://www.nuget.org/packages/FreeTypeSharp/)
[![Nuget](https://img.shields.io/nuget/vpre/FreeTypeSharp)](https://www.nuget.org/packages/FreeTypeSharp/)

A modern managed FreeType2 library based on the freetype2 code in the [ultraviolet](https://github.com/tlgkccampbell/ultraviolet/tree/develop/Source/Ultraviolet.FreeType2) project.

Expand All @@ -10,7 +9,8 @@ FreeTypeSharp v2+ provides cross-platform bindings for:
- net8.0-android
- net8.0-ios
- net8.0-tvos
- netstandard2.0 (UWP)
- netstandard2.0
- uap10.0 (UWP)

[README](https://github.com/ryancheung/FreeTypeSharp/tree/v1) for release v1.X

Expand All @@ -24,6 +24,10 @@ Native binaries are built by the CI in https://github.com/ryancheung/freetype/tr

`dotnet add package FreeTypeSharp`

UWP target is in a seperate package

`dotnet add package FreeTypeSharp.UWP`

# 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.
Expand Down

0 comments on commit 6d1564a

Please sign in to comment.