0ad/source
trompetin17 c0a3f2d885
Preload common glyphs after font load to reduce rendering delay
To improve visual consistency during dynamic font rendering, especially
on lower-end machines or during low FPS moments, we now preload a set of
common Latin letters, digits, and punctuation glyphs immediately after a
font is loaded by the FontManager.

This reduces the likelihood of users seeing empty or missing characters
on the first frame after a font is used, minimizing visual glitches
during simulation.

The preloaded characters include:
- Uppercase and lowercase Latin letters (A–Z, a–z)
- Digits (0–9)
- Common punctuation and symbols (e.g., .,;:!?()[]{}<> etc.)

This change helps smooth the user experience and avoids blank spaces
during the initial rendering of text in performance-constrained
scenarios.
2025-06-15 08:05:12 -05:00
..
collada Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
graphics Preload common glyphs after font load to reduce rendering delay 2025-06-15 08:05:12 -05:00
gui Align font height, capHeight to FreeType metrics 2025-06-11 08:10:18 -05:00
i18n Get config values without using return parameters 2025-04-09 12:51:21 +02:00
lib Normalize module-path 2025-06-06 17:36:35 +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 Make rallypoints moddable. 2025-06-15 07:43:08 +02: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 Disalow importing some files 2025-06-06 17:36:35 +02:00
simulation2 Make rallypoints moddable. 2025-06-15 07:43:08 +02:00
soundmanager Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
third_party Disable warnings for Mongoose on Win64 2025-06-01 20:51:38 +02:00
tools Make rallypoints moddable. 2025-06-15 07:43:08 +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