Henrik Rydgård
671ba6356b
Remove logspam from Android text rendering, oops
2024-10-23 15:07:27 +02:00
Henrik Rydgård
26de955c77
Warning fixes, add warning to Cave Story if skip buffer effects is on
2024-10-22 11:56:08 +02: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
e0c12c9547
More lint warning fixes
2024-10-10 10:52:45 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +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
ab685be566
Windows UWP: Enable color emoji rendering through DirectWrite
2023-08-06 17:25:20 +02:00
Henrik Rydgård
63cfe28f61
Implement color emoji support on Android
2023-08-06 15:14:29 +02:00
Henrik Rydgård
ab6e902fea
Make naett work on Android, UWP, Mac. Exclude on Linux
2023-07-21 10:28:31 +02:00
Henrik Rydgård
ac88e73768
TextDrawerAndroid: Handle a null fontName, saw some crash reports that looked like that.
2023-05-05 23:40:06 +02:00
Henrik Rydgård
970f7993df
Android: Make font rendering work even absent support for R4G4B4A4 textures.
...
This shouldn't normally happen as conforming drivers are required to
support that texture format, but the software driver that we
accidentally choose on Poco C40 (see issue #16391 ) doesn't.
That we choose that driver will be fixed separately. This fix on its own
at least lets the user comfortably navigate to settings and switch to
OpenGL.
2023-02-28 00:01:29 +01:00
Henrik Rydgård
a44bee6f85
Fix bug in blue-to-alpha - alpha blending could be on when it shouldn't be.
...
Fixes #15732 . (Split/Second environment mapping problem in the menu).
2022-07-27 10:59:39 +02:00
Unknown W. Brackets
72663aeefb
Android: Improve precision on text measure.
...
We want this to come to the same values that measuring the first line
would, so let's multiply in the same way.
2021-09-25 07:58:28 -07:00
Henrik Rydgård
d3abcf1b56
Draw bullet points as circles for a consistent look regardless of system font.
2021-09-10 23:41:44 +02: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