0ad/source/gui/tests
trompetin17 bdd94bd264
Add font engine aware of Gui.scale
This commit enhances text rendering by leveraging FreeType and a dynamic
font atlas. Previously, GUI scaling relied on bitmap fonts, which led to
blurry and distorted text when scaling up. Now, we scale the font size
directly using FreeType, resulting in much sharper and more readable
text at any GUI scale.

Key improvements:
- Replaced bitmap font scaling with true font size scaling via FreeType.
- Reduced glyph cache dependency on fixed positions, relying on shader
  scaling instead.
- Switched to float-based glyph positioning for more accurate rendering
  and scaling.

These changes ensure clean and consistent text appearance across
different GUI scales.
2025-05-26 13:12:47 -05:00
..
test_CGUIText.h Add font engine aware of Gui.scale 2025-05-26 13:12:47 -05:00
test_GuiManager.h Start Atlas by closing the root page 2025-03-26 13:07:57 +01:00
test_GUISetting.h Use freetype for font rendering 2025-05-16 14:57:59 -05:00
test_ParseString.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00