diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-10-09 20:25:08 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-10-09 20:25:08 -0700 |
commit | 69d86cae5ba5672e7020243d0f78f0ea6355fd8f (patch) | |
tree | 62d88bdf6839c96ec3aac323b497a581ab1f4f94 /Manual_tests.md | |
parent | 6e391d7875158a9351eae9976067671a0ef5ad0e (diff) | |
download | text.love-69d86cae5ba5672e7020243d0f78f0ea6355fd8f.tar.gz |
fix all tests in LÖVE v12
This is all quite hacky. Many of my tests are unfortunately brittle to changes in text rendering. Fortunately there's only one test that currently requires a hacky special case (and a second test I tweaked slightly to be more robust). I can't think of a better approach. It doesn't help to standardize the font, because version changes still come with changes to text-shaping algorithms even if the font itself is unchanged. I could base all my assertions on the widths of individual characters, but that would make the tests much less readable and not express intent as clearly. So here we are, with hopefully just a few hacky special cases (there might be a few more as LÖVE v12 advances towards publication, and in further versions).
Diffstat (limited to 'Manual_tests.md')
0 files changed, 0 insertions, 0 deletions