aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-10-10 11:52:24 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-10-10 11:52:24 +0000
commit34aa979f460c09a481a02af733737a5925c9b1bf (patch)
treee8b7a59f11d7dbbf97f3cae16290c22f8bac3e2c /render.c
parentchangelog: fixed font baseline calculation (diff)
term_font_baseline(): only center glyph when a custom line-height is being used
When using the font's own line-height, simply set the baseline 'descent' pixels above the bottom of the cell. This fixes an issue where some fonts appeared "glued" to the top of the cell, and sometimes getting partially clipped.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions