aboutsummaryrefslogtreecommitdiff
path: root/scripts/benchmark.py
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-28 13:37:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-28 13:37:48 +0000
commite912656682cd6645241fd5ba9ce3c1d1533c03b4 (patch)
tree3dcd88d74776586715293a67c67dac33a7eba828 /scripts/benchmark.py
parentfont baseline: use max(font->height, font->ascent + font->descent) when calculating font height (diff)
render: revert part of a36f67cbe311bebd9321fbf58773dace8128fcd7
render_osd() shouldn't use term_font_baseline(). This is because term_font_baseline() uses the line height to determine the position, while render_osd() renders to surfaces that aren't sized like the grid. This fixes a regression, where the CSD title were sometimes rendered too high up, and sometimes too low.
Diffstat (limited to 'scripts/benchmark.py')
0 files changed, 0 insertions, 0 deletions