Velentr.Font

Dark Mode

Velentr.Font (this link opens in a new window) by vonderborch (this link opens in a new window)

An alternative solution for Monogame/FNA/XNA-derived frameworks that utilizes SharpFont to draw text rather than the traditional SpriteFont approach.

Summary

Velentr.Font is an alternative solution for Monogame/FNA/XNA-derived frameworks that normally require SpriteFonts to be generated. Instead, any ttf or otf font file can be used.

Packages

Packages are available to install via nuget:

Documentation

Documentation is currently available only on github. Documentation site and tutorial coming soon here!

Design Choices/Comments/Notes

I wrote the initial version of this pretty quickly and based on some previous people’s works that I’d seen as well as some stuff I’d played around with. Going with SharpFont as the core of the library allowed me to create this quicker, but it does come with a cost dependency wise. I’d like to rework this library at some point soon to remove the dependency and create a pure managed C# library for doing this.