C#/.NET Port of Chlumsky's msdfgen and msdf-atlas-gen written in pure C# with no native dlls included !
More specifically version 1.12.1 of msdfgen
- ✅ No native dependencies (should work on any platform that works with .NET 8.0+).
- ✅ OpenType (ttf/otf/..) font loader.
- ✅ SDF/PSDF/MSDF/MTSDF generator.
- ✅ bmp and png image formats Exporter.
- ✅ MSDF Atlas generator.
- ✅ Dynamic Atlas (Load glyphs on-the-fly when needed).
- ✅ Optionally uses Skia for full shape processing. (uses native libs)
Note : some features are not implemented, such as Mulit-threading.
You can check demo for use !
This port doesn't cover the whole project, If you find any bugs or want to add some missing stuff, you can post an Issue or PR.
MIT License 2025 FenzDev
MIT License 2014-2025, Viktor Chlumsky
(LayoutFarm/Typography licenses can be seen in header of its source files)
OpenType:
MSDF: