[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 6c7186d 1/2: Doc tweak for x-use-underline-position
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master 6c7186d 1/2: Doc tweak for x-use-underline-position-properties |
Date: |
Tue, 13 Feb 2018 17:22:34 -0500 (EST) |
branch: master
commit 6c7186de3bbb2b7652cdc01a68bee035761197e5
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Doc tweak for x-use-underline-position-properties
* src/xterm.c (syms_of_xterm) <x-use-underline-position-properties>:
Remove ancient information from doc.
* etc/PROBLEMS: Related edit.
---
etc/PROBLEMS | 6 ++----
src/xterm.c | 7 +++----
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index dedbf80..0797176 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 deae65d..2371058 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",