From: Glenn Morris Date: Tue, 13 Feb 2018 22:13:53 +0000 (-0800) Subject: Doc tweak for x-use-underline-position-properties X-Git-Tag: emacs-27.0.90~5684 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c7186de3bbb2b7652cdc01a68bee035761197e5;p=emacs.git Doc tweak for x-use-underline-position-properties * src/xterm.c (syms_of_xterm) : Remove ancient information from doc. * etc/PROBLEMS: Related edit. --- diff --git a/etc/PROBLEMS b/etc/PROBLEMS index dedbf80b353..07971766192 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -783,10 +783,8 @@ frame's parameter list, like this: ** Underlines appear at the wrong position. This is caused by fonts having a wrong UNDERLINE_POSITION property. -Examples are the 7x13 font on XFree86 prior to version 4.1, or the jmk -neep font from the Debian xfonts-jmk package prior to version 3.0.17. -To circumvent this problem, set x-use-underline-position-properties -to nil in your '.emacs'. +To avoid this problem (seen in some very old X releases and font packages), +set x-use-underline-position-properties to nil. To see what is the value of UNDERLINE_POSITION defined by the font, type 'xlsfonts -lll FONT' and look at the font's UNDERLINE_POSITION property. diff --git a/src/xterm.c b/src/xterm.c index deae65d1d8a..2371058cd45 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -13242,10 +13242,9 @@ syms_of_xterm (void) x_use_underline_position_properties, doc: /* Non-nil means make use of UNDERLINE_POSITION font properties. A value of nil means ignore them. If you encounter fonts with bogus -UNDERLINE_POSITION font properties, for example 7x13 on XFree prior -to 4.1, set this to nil. You can also use `underline-minimum-offset' -to override the font's UNDERLINE_POSITION for small font display -sizes. */); +UNDERLINE_POSITION font properties, set this to nil. You can also use +`underline-minimum-offset' to override the font's UNDERLINE_POSITION for +small font display sizes. */); x_use_underline_position_properties = true; DEFVAR_BOOL ("x-underline-at-descent-line",