Implement text rendering using a cross-platform library
nmlgc opened this issue · comments
Nmlgc commented
The original game uses the native Windows GDI text rendering API. If we go cross-platform, we'd probably use FreeType?
Nmlgc commented
It's probably not going to be SDL_ttf, despite moving to SDL for everything else. All of its rasterization functions allocate a new SDL_Surface
, leading to tons of complaints about how slow it is. The library should definitely make use of the rectangle packing cache system I implemented in P0251.