Commit graph

12 commits

Author SHA1 Message Date
Hoe Hao Cheng
28edae016e SDL: fallback to atlas if SDL2_ttf is <2.0.18 2023-09-25 10:07:30 +08:00
Henrik Rydgård
3aed81d51b
Merge pull request #18170 from hch12907/sdl-ttf
ci: use pkgconfig as a fallback for finding SDL2_ttf
2023-09-21 13:45:52 +02:00
Hoe Hao Cheng
b768210797 ci: use pkgconfig as a fallback for finding SDL2_ttf 2023-09-19 00:51:19 +08:00
Henrik Rydgård
8f88442343 SDL ttf rendering: Try two 4444 tex formats to find one that works. 2023-09-18 11:48:28 +02:00
Hoe Hao Cheng
0a5937051a SDL: let's not remove the candidate fallback fonts 2023-08-23 13:39:16 +08:00
Unknown W. Brackets
2aa4592330 SDL: Skip FcFini() call, causes crashes.
Apparently this is a relatively well known problem and various people have
commented this out, including in Chromium for the last 10 years...
2023-08-13 19:36:17 -07:00
Hoe Hao Cheng
4d7e949f23 SDL: text alignment fix 2023-08-03 20:54:21 +08:00
Hoe Hao Cheng
c56f302e51 SDL: address comments on #17780 2023-07-30 16:25:36 +08:00
Hoe Hao Cheng
aaa7e90174 SDL: fix a curious crash 2023-07-29 03:10:00 +08:00
Hoe Hao Cheng
1c890be702 Use common UTF8 infrastructure instead of rewriting one 2023-07-29 03:10:00 +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