Skip to content

jordan4ibanez/RazorFont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A razor sharp font library for D game development.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages