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.
Variable-width font
Variable-width font
- Attachments
-
- Musi's Font Class.rar
- (28.12 KiB) Downloaded 362 times
Musi
There are 10 types of people that understand binary.
Those that do, and those that don't.
There are 10 types of people that understand binary.
Those that do, and those that don't.