I've decided to use freetype to render characters on demand to a bitmap, which I think is cool.
It means we should be able to generate text to most type of font sizes and with good resolution without including a sprite sheet per font size. Hopefully we will be able to embed an 'Open Font' file that supports pretty much any language character set, which will make the exe fairly large but it won't have a bunch of files dangling about the place. The one open font will be the system default, however we shouldn't rule out loading additional supporting fonts as needed.
Gonna do something like this to embed a default, all languages, font file in the exe:
linux/osx: http://stackoverflow.com/questions/2627 … -gcc-mingw
windows: http://stackoverflow.com/questions/2740 … to-a-c-dll
- New Sticky