aboutsummaryrefslogtreecommitdiff
path: root/foot-server@.socket
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-11-23 15:15:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-11-23 15:29:42 +0000
commit5a54423000ad0cffec0178a6091c87d75110eee0 (patch)
tree66515be1a17f0550a19eef5c7b76cdb390ac7e92 /foot-server@.socket
parentreadme/foot.1: mention that we now need “-d info” to get log output (diff)
term: adjust user-set line-height by the same percentage as the primary font
Before this patch, a user-set line-height was increased/decreased by the exact same amount of pt’s as the font(s). This means, that when there’s a large discrepancy between the line-height and the font size, the proportion between the line’s height and the font size will change as we increase or decrease the font size. This patch changes how the line height is adjusted when the font size is incremented or decremented. We calculate the difference, in percent, between the primary font’s original (default) size, and its current size, and then apply that to the configured line-height. Closes #1218
Diffstat (limited to 'foot-server@.socket')
0 files changed, 0 insertions, 0 deletions