summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-07-10 13:44:10 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2025-07-15 11:40:25 +0200
commitf83b1d648fc6ec2c64fd2c3483fede23c973c20f (patch)
tree04dd7950cbea1331870190d1caf9061011dfca05 /NEWS
parent32bcf41f01d4ed4a3a08030095611e75d6186d60 (diff)
downloadmana-master.tar.gz
mana-master.tar.bz2
mana-master.tar.xz
mana-master.zip
Render font outlines using TTF_SetFontOutlineHEADmaster
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--NEWS1
1 files changed, 1 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 64bd4374..93267cb7 100644
--- a/NEWS
+++ b/NEWS
@@ -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