[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height
From: |
Lars Ingebrigtsen |
Subject: |
bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height |
Date: |
Fri, 19 Nov 2021 08:12:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> + DEFVAR_LISP ("line-height-factor", Vline_height_factor,
> + doc: /* Factor for enlarging the height of lines that use the default
> font.
> +The value should be a float number greater than 1. It determines how
> +much will Emacs enlarge the height of a screen line that shows only
> +characters displayed with the default face's font for ASCII characters.
> +This is to avoid differences in height between lines that use the
> +ASCII font and those which use non-ASCII (for example, Chinese)
> +font, which is typically higher than the ASCII one. */);
Is tying this to the default font the best solution, though? Emacs (by
default) uses at least two fonts -- one monospaced and one that's
proportional, and this will only fix the first issue.
So I think the original idea (adding a line-height parameter/variable)
would fix this issue in a more general way.
Testing the patch, it also affects the height of faces with :height in
them, meaning that separator lines get much taller than they should be.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, (continued)
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, tumashu, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Eli Zaretskii, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Po Lu, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Eli Zaretskii, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Po Lu, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, tumashu, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Eli Zaretskii, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, tumashu, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, tumashu, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Eli Zaretskii, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height,
Lars Ingebrigtsen <=
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Eli Zaretskii, 2021/11/19
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Lars Ingebrigtsen, 2021/11/20
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Eli Zaretskii, 2021/11/20
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Lars Ingebrigtsen, 2021/11/20
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Eli Zaretskii, 2021/11/20
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Lars Ingebrigtsen, 2021/11/20
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Eli Zaretskii, 2021/11/20
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Lars Ingebrigtsen, 2021/11/20
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Eli Zaretskii, 2021/11/20
- bug#51821: 29.0.50; Suggest add variable or frame parameter: line-height, Lars Ingebrigtsen, 2021/11/21