Variable-width font

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
Musi
Posts: 106
Joined: November 25th, 2012, 1:06 am

Variable-width font

Post by Musi » 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. :D

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.
Attachments
Musi's Font Class.rar
(28.12 KiB) Downloaded 341 times
Musi

There are 10 types of people that understand binary.
Those that do, and those that don't.

Post Reply