nmlgc / ssg

秋霜玉 / Shuusou Gyoku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement text rendering using a cross-platform library

nmlgc opened this issue · comments

commented

The original game uses the native Windows GDI text rendering API. If we go cross-platform, we'd probably use FreeType?

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.