pgeFont is part of Phoenix Game Engine.
The library loads a TrueType font and generates a swizzled 4-bit paletted bitmap font texture for use when drawing text. It's very fast.
There are two samples included, one for raw GU and the other using the graphics library from Yeldarb's tutorials on psp-programming.com
If you're using the graphics library then you may need to reset the sceGuTex* states to what they are defaulted to in the initGraphics() functions, after using the pgeFont* functions.
It should be easy enough to add to any other library.
The differences between this release and the actual Phoenix Game Engine pgeFont code are:
- No loading to VRAM
- No loading from memory
Possibly more on release of the engine.
Raphael: Converted my initial 8-bit textures to 4-bit and fixed a bug in the swizzle function.
This is released under the Creative Commons Attribution-Share Alike 3.0 License.
See LICENSE for more information.
With accordance to the license, the following must be adhered to:
If you use the code in any way, shape or form you must attribute it in the following way:
'Uses pgeFont by InsertWittyName - http://insomniac.0x89.org
If you alter the code in any way, shape or form you must also release the updated code under the same license.
if you need more information.