mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 02:23:47 +00:00
734386ce9f
Replace premade bitmap fonts with FreeType2 and dynamic texture atlas. Switched from static, premade bitmap fonts to runtime-generated glyphs using FreeType2. Glyphs are rendered on demand into a dynamic texture atlas, improving scalability, font quality, and support for internationalization. Currently using RGBA format for compatibility across all render paths while initial support for R8_UNORM is being added. This prepares for future optimizations in VRAM and performance Includes groundwork for gamma-corrected blending and future swizzling support.