diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-07-10 13:44:10 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2025-07-15 11:40:25 +0200 |
commit | f83b1d648fc6ec2c64fd2c3483fede23c973c20f (patch) | |
tree | 04dd7950cbea1331870190d1caf9061011dfca05 /NEWS | |
parent | 32bcf41f01d4ed4a3a08030095611e75d6186d60 (diff) | |
download | mana-master.tar.gz mana-master.tar.bz2 mana-master.tar.xz mana-master.zip |
Rather than rendering the same texture 4 additional times, render a
specific outline version of the text. While reducing the number of times
the text is drawn, it does increase font texture use.
Result is a generally prettier outline due to rendering it properly at
sharp corners of the characters. The shadow for outlined text is now
also thicker, as appropriate.
As part of this change, the `TextRenderer` class was merged into the
`Graphics` and `TrueTypeFont` classes. There seemed to be little point
in having a separate function for this, apart from needing more static
casts to `Graphics*`.
Also fixed an issue where the font style was not being restored after
adjusting the font scale, when using an older SDL_ttf than 2.0.18.
Closes #87
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -34,6 +34,7 @@ - Re-download updates when their checksum no longer matches - Enabled resizing windows from all sides - Enabled whispers in tabs by default +- Improved quality of outlined text rendering - Made pickup notifications to appear as particle instead of text by default - Made names update immediately when changing "Show gender" option - Made the screenshot file name a clickable link |