Niv Baehr
0802c27532
Draw text line by line ( #8379 )
3 months ago
Gleb Mazovetskiy
90507b1714
text_render_integration_test: compare pixels
...
This allows the test to pass even if the underlying
image library is uses a non-libpng compressor (e.g. miniz).
5 months ago
Gleb Mazovetskiy
88f706e0d1
SDL3: Add some backports / compat helpers
5 months ago
Gleb Mazovetskiy
8f6e9810d0
SDL3: Make `text_render_integration_test` build
...
Adds support for just enough SDL3 to make `text_render_integration_test`
work.
5 months ago
Gleb Mazovetskiy
0bb75c7474
text_render_integration_test.cpp: Fix line endings
8 months ago
obligaron
98f097997c
Fix MSVC related warnings with sdl2
9 months ago
staphen
5a03f1e555
Deploy text render fixtures to the build directory
1 year ago
Gleb Mazovetskiy
527b7e35a4
text_renderer: Add overflow tests
1 year ago
Gleb Mazovetskiy
5a14cc57f3
text renderer: colors layout fix + improved tests
...
1. Fixes DrawStringwithColors kerning fit handling and newline handling.
2. Splits tests into one file per function call, making it easier to compare diffs and add new tests.
Also adds `--update_expected` argument to update the expected files with actual results.
1 year ago
Gleb Mazovetskiy
8dc0f039f9
Add a text rendering integration test
...
This shows that we still have some issues with draw string with colors +
kerning fit but that's OK as we don't use that currently.
1 year ago