Variable-width font
Posted: December 31st, 2012, 6:23 pm
I've finished writing a basic variable-width font loader for a game i'm making and i just wanted to share it.
I'm sure there are functions Direct3D has to load real fonts but i just wanted to see if i could do it. It's very basic, each character has a width and right margin. Nothing like a true type font or anything. The font included is one i made in paint, it comes in three sizes.
If anyone wants to use it you're more than welcome, it might take a bit of explaining though. Feedback and improvements welcome.
I'm sure there are functions Direct3D has to load real fonts but i just wanted to see if i could do it. It's very basic, each character has a width and right margin. Nothing like a true type font or anything. The font included is one i made in paint, it comes in three sizes.
If anyone wants to use it you're more than welcome, it might take a bit of explaining though. Feedback and improvements welcome.