Commit graph

18 commits

Author SHA1 Message Date
Henrik Rydgård
55aa1ff66e Warning fixes 2024-11-06 11:59:34 +01:00
Henrik Rydgård
a6a189c24d An old version of android had strict JNI validation of UTF-8 strings enabled. Let's pass it. 2024-10-22 11:02:26 +02: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
5b0007f391 Remove unused and broken text rotation code 2024-05-31 20:58:53 +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
5999690af5 i18n: Remove our awkward ampersand-escape support, except in [DesktopUI] 2024-05-31 09:45: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
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
0fc3e2b777 Add string_view support to more UTF functions 2024-01-12 14:03:02 +01:00
Henrik Rydgård
6b75bbf64a Add support for line breaks in TextDrawerWin32::MeasureString. Sometimes useful.
And actually consistent with the other backends.
2023-07-16 21:58:47 +02:00
Unknown W. Brackets
9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
799a4de23e Windows: Improve rect measurement precision.
Not seeing issues here like Android, but let's make them match.
2021-09-25 08:02:58 -07:00
Unknown W. Brackets
13ec384dbe Build: Explicitly include ppsspp_config.h.
This adds it to all files that use it.  Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Henrik Rydgård
8761bf2bc9 Move text rendering to Common. 2020-10-05 00:05:28 +02:00
Renamed from ext/native/gfx_es2/draw_text_win.cpp (Browse further)