- It's been a few months since his initial release
, and today PlayStation 3 developer deroad
has updated the NoRSX PS3 2D Graphic Library for the PSL1ght homebrew SDK to include TTF support.
Download: [Register or Login to view links]
/ [Register or Login to view links]
(Mirror) / [Register or Login to view links]
To quote from his blog: My lib has been updated to allow people to use *.ttf files instead of my old experimental font. You can use any ttf loaded from memory or from hdd and print any kind of text as you want.
This is the function that needs to be called to load a font from memory:
Font(u32 Color, u32 Size, const void *MemFont, u32 MemFont_size, Minimum *min);
so for example if my font is Andale.ttf, and i want to load it from memory, i would call:
#include "Andale_ttf.h" //This file will be created from the Makefile.
//just put your Andale.ttf inside the "data" folder