aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2018-02-21 06:20:58 +0200
committerEli Zaretskii2018-02-21 06:20:58 +0200
commitf0d6a16d744c133166cf203daf478e14d53e4e8c (patch)
tree8f685cb9b87bcb506a9988129025617394ef4a0d /doc
parent69a8f45e15e8fcd73062e810886b0d0993442b06 (diff)
downloademacs-f0d6a16d744c133166cf203daf478e14d53e4e8c.tar.gz
emacs-f0d6a16d744c133166cf203daf478e14d53e4e8c.zip
Fix documentation of 'x-underline-at-descent-line'
* doc/emacs/display.texi (Display Custom): * src/nsterm.m (syms_of_nsterm): * src/xterm.c (syms_of_xterm): * src/w32term.c (syms_of_w32term): Mention the effect of 'line-spacing' on the underline position. (Bug#30553)
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/display.texi7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index 205ca54728f..64a1d4b5fa0 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -1848,8 +1848,11 @@ it may improve the legibility of underlined text for certain fonts.
1848area.) The variable @code{x-underline-at-descent-line} determines how 1848area.) The variable @code{x-underline-at-descent-line} determines how
1849to draw underlined text. The default is @code{nil}, which means to 1849to draw underlined text. The default is @code{nil}, which means to
1850draw it at the baseline level of the font; if you change it to 1850draw it at the baseline level of the font; if you change it to
1851@code{nil}, Emacs draws the underline at the same height as the font's 1851@code{t}, Emacs draws the underline at the same height as the font's
1852descent line. 1852descent line. (If non-default line spacing was specified for the
1853underlined text, see @ref{Line Height,,, elisp, The Emacs Lisp
1854Reference Manual}, Emacs draws the underline below the additional
1855spacing.)
1853 1856
1854@vindex overline-margin 1857@vindex overline-margin
1855 The variable @code{overline-margin} specifies the vertical position 1858 The variable @code{overline-margin} specifies the vertical position