A razor sharp font library for D game development.


License
MIT
Install
dub fetch razorfont --version 1.3.3

Documentation

RazorFont

A razor sharp font library for D game development.

  ____________________________
 |         RAZOR FONT         |
 |____________________________|
  \            /\            /
  /            \/            \
 | The Sharpest Font Library  |
 |   For D Game Development   |
 |____________________________|

My Discord: https://discord.gg/dRPyvubfyg

RazorFont is pretty simple. You give it a PNG with the font data, then you map the font data with a JSON file.

Fonts are stored in the RazorFont module. There is no need to manually manage fonts yourself.

RazorFont accumulates text via vertex, texture, and indices data. You can render straight to a canvas, then flush it.

RazorFont also has the ability for you to hook your existing rendering engine into it via delegates.

You can color, shadow, rotate, move characters around. I tried to make this very flexible!

Here are tutorials I made to walk you through how to use this:

Intro Tutorial

Intermediate Tutorial

Advanced Tutorial

Enjoy!