0ad/source
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
..
collada Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
graphics Add font engine aware of Gui.scale 2025-05-26 13:12:47 -05:00
gui Add font engine aware of Gui.scale 2025-05-26 13:12:47 -05:00
i18n Get config values without using return parameters 2025-04-09 12:51:21 +02:00
lib Adds 64bits support. 2025-04-26 20:53:09 +02:00
lobby Fix password change for certain usernames 2025-05-19 17:05:41 +02:00
maths Tell GCC the maximum value of m_BufLen 2025-01-13 20:05:43 +01:00
mocks Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
network Stop running shrinking gcs & simplify GC logic. 2025-04-22 17:03:29 +02:00
pch Remove glooxwrapper 2024-11-25 20:01:00 +01:00
ps Add font engine aware of Gui.scale 2025-05-26 13:12:47 -05:00
renderer Use freetype for font rendering 2025-05-16 14:57:59 -05:00
rlinterface Shutdown mongoose in rl-interface gracefully 2024-06-23 17:26:03 +00:00
scriptinterface Skip redundant HasProperty in GetObjectClassName 2025-05-10 17:08:49 +02:00
simulation2 Improve group movement by distributing units around the target. 2025-05-24 14:34:09 +02:00
soundmanager Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
third_party Disable deprecation warning for old boost 2025-03-23 14:38:43 +01:00
tools Update the pre-commit hooks 2025-05-26 17:19:03 +02:00
main.cpp Adds fixed frame frequency. 2025-04-25 19:15:57 +02:00
test_setup.cpp Make the TaskManager a automatic livetime object 2024-11-17 18:03:49 +01:00