Skip to content

Starry-Orbit-Studio/FontStashSharp

 
 

Repository files navigation

FontStashSharp

NuGet Build & Publish Chat

FontStashSharp is C# port of https://github.com/memononen/fontstash

Or - in other words - it is the text rendering library with following features:

  • Glyphs are rendered on demand on the texture atlas. Thus it's not required to specify the character ranges at the FontSystem creation
  • It's possible to have multiple ttf fonts per one FontSystem(i.e. one ttf with Latin characters, second with Japanese characters and third with emojis)
  • Colored text
  • Blurry and stroked text

Usage

Using FontStashSharp in MonoGame, FNA or Stride

Using FontStashSharp in generic game engine

Additional documentation is available at wiki

Screenshots

Ordinary Text:

Blurry Text:

Stroked Text:

Credits