kitty/kitty_tests
Strykar fc23ef57ec
fonts: make the color emoji regression test environment-independent
The coverage threshold (0.5 in fbd4e5ad1, lowered to 0.3 in d4106ef2d to
get CI green) is environment-dependent: a correctly sized emoji covers
~0.84 of its cell on one box but ~0.39 in CI, while the buggy render is
~0.28, so the margin is thin and font/cell dependent.

Render the same font two ways at one size instead: via its fontconfig
descriptor (which carries the size-fixup matrix) and via its file path
(which does not). They must come out the same size; the bug shrinks the
descriptor one. Only the matrix differs, so the check no longer depends
on the environment or the emoji artwork.
2026-06-14 21:00:12 +05:30
..
__init__.py
atexit.py
CascadiaCode-Regular.otf
check_build.py
clipboard.py
ComfyCode-Regular.ttf
command_palette.py
completion.py
crypto.py
datatypes.py
dnd.py
dnd_kitten.py
file_transmission.py
FiraCode-Medium.otf
fonts.py fonts: make the color emoji regression test environment-independent 2026-06-14 21:00:12 +05:30
glfw.py
gr.py
GraphemeBreakTest.json
graphics.py
iosevka-regular.ttf
keys.py
layout.py
LiberationMono-Regular.ttf
main.py
mouse.py
multicell.py
notifications.py
open_actions.py
options.py
panels.py
parser.py
screen.py
search_query_parser.py
shell_integration.py
shm.py
ssh.py
tui.py
twemoji_smiley-cff2_colr_1.otf
utmp.py