Meant as a demonstration how the actual line-height can be used in height computations.
Fixes #180
I actually think that if this is acceptable, we should replace other uses of (frame-char-height) with (line-pixel-height) to get consistent results during calculations.
Changing this will get line-pixel-heightfor the current window; not being able to specify which frame and window to ask could be a weakness, but I didn't encounter any issues so far.
Meant as a demonstration how the actual line-height can be used in height computations.
Fixes #180
I actually think that if this is acceptable, we should replace other uses of
(frame-char-height)
with(line-pixel-height)
to get consistent results during calculations.Changing this will get
line-pixel-height
for the current window; not being able to specify which frame and window to ask could be a weakness, but I didn't encounter any issues so far.