aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-28 13:36:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-28 13:36:48 +0000
commitfd813d0e6cfff57cf8a8f55e9a249ddb6fbdb6d6 (patch)
treeb3ce6265ed2a9b825c885073dd63147261ebba8b /render.c
parentscaling: always round the scaling factor when converting to int (diff)
font baseline: use max(font->height, font->ascent + font->descent) when calculating font height
This is how it's done when calculating the cell height, and we should do the same thing when calculating the font baseline.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions