about summary refs log tree commit diff stats
path: root/Manual_tests.md
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-10-09 20:25:08 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-10-09 20:25:08 -0700
commit69d86cae5ba5672e7020243d0f78f0ea6355fd8f (patch)
tree62d88bdf6839c96ec3aac323b497a581ab1f4f94 /Manual_tests.md
parent6e391d7875158a9351eae9976067671a0ef5ad0e (diff)
downloadtext.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