razorfont ~main

A razor sharp font library for D game development.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

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!

Authors:
  • jordan4ibanez
Dependencies:
doml, arsd-official:png
Versions:
1.3.3 2023-Mar-11
1.3.2 2023-Mar-11
1.3.1 2023-Mar-11
1.3.0 2023-Mar-11
1.2.1 2023-Mar-11
Show all 14 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 39 downloads total

Score:
0.6
Short URL:
razorfont.dub.pm