Henrik Rydgård
|
acd8cf70d0
|
SDL: Load font from VFS instead of using a file path.
Hopefully helps #21014
|
2025-11-24 00:55:12 +01:00 |
|
Henrik Rydgård
|
666808fb8c
|
SDL: Correct font size handling
|
2025-11-23 22:26:32 +01:00 |
|
Henrik Rydgård
|
bf5e524243
|
Add multi-font support to the final text-rendering backend (SDL_ttf)
|
2025-11-09 08:52:21 +01:00 |
|
Henrik Rydgård
|
6d1973edfb
|
Add banners on the top of settings pages, if editing game-specific settings show the icon.
|
2025-11-09 08:51:41 +01:00 |
|
Henrik Rydgård
|
1ba304d83f
|
Alternate buildfix
|
2025-01-09 21:12:00 +01:00 |
|
Henrik Rydgård
|
bd84c7bf7d
|
Buildfix for new SDL.
Fixes #19839
|
2025-01-09 20:58:50 +01:00 |
|
Henrik Rydgård
|
e49d94ad11
|
Unify the MeasureString caching code
|
2024-10-16 14:39:21 +02:00 |
|
Henrik Rydgård
|
28cf69f67e
|
Remove duplicate code from the text rendering backends
|
2024-06-01 09:58:58 +02:00 |
|
Henrik Rydgård
|
d6b6d087c0
|
Make the font lifecycle more similar between the backends.
|
2024-06-01 09:43:11 +02:00 |
|
Henrik Rydgård
|
4051f34758
|
Implement MeasureStringRect generically based on MeasureString
|
2024-05-31 21:11:48 +02:00 |
|
Henrik Rydgård
|
2061f04885
|
Also remove DrawString in the SDL text backend
|
2024-05-31 19:08:25 +02:00 |
|
Henrik Rydgård
|
533f8f06be
|
Unify DrawString between Windows, UWP and Android. More to come.
|
2024-05-31 17:27:59 +02:00 |
|
Henrik Rydgård
|
0bbaaef787
|
Seems to be working now, though need to figure out which font face we can use.
|
2024-05-29 18:52:39 +02:00 |
|
Henrik Rydgård
|
7e7d1d587a
|
Start lifting up common parts to the base class
|
2024-05-29 18:52:39 +02:00 |
|
Henrik Rydgård
|
ccbcf1369b
|
Convert DrawString* functions to use std::string_view
|
2024-05-24 22:52:51 +02:00 |
|
Henrik Rydgård
|
804f31f424
|
Convert MeasureString* functions to use std::string_view
|
2024-05-24 14:16:40 +02:00 |
|
Henrik Rydgård
|
1553931163
|
SDL: Add more fallback font names, greatly speed up fallback font handling
|
2024-01-20 11:22:05 +01:00 |
|
Hoe Hao Cheng
|
c56f302e51
|
SDL: address comments on #17780
|
2023-07-30 16:25:36 +08:00 |
|
Hoe Hao Cheng
|
f88d1a287e
|
SDL: implement font fallback for TextDrawerSDL
|
2023-07-29 03:09:57 +08:00 |
|
Hoe Hao Cheng
|
2b826b5614
|
SDL: implement TextDrawer using SDL2_ttf
|
2023-07-25 13:05:32 +08:00 |
|