aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2018-02-13 14:13:53 -0800
committerGlenn Morris2018-02-13 14:13:53 -0800
commit6c7186de3bbb2b7652cdc01a68bee035761197e5 (patch)
treed7d215df0d57f4f4f05cf6c256b5c68e8da9ec9f
parent98f4e336e879e54251694fa0d47b69d8d325176d (diff)
downloademacs-6c7186de3bbb2b7652cdc01a68bee035761197e5.tar.gz
emacs-6c7186de3bbb2b7652cdc01a68bee035761197e5.zip
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.
-rw-r--r--etc/PROBLEMS6
-rw-r--r--src/xterm.c7
2 files changed, 5 insertions, 8 deletions
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:
783** Underlines appear at the wrong position. 783** Underlines appear at the wrong position.
784 784
785This is caused by fonts having a wrong UNDERLINE_POSITION property. 785This is caused by fonts having a wrong UNDERLINE_POSITION property.
786Examples are the 7x13 font on XFree86 prior to version 4.1, or the jmk 786To avoid this problem (seen in some very old X releases and font packages),
787neep font from the Debian xfonts-jmk package prior to version 3.0.17. 787set x-use-underline-position-properties to nil.
788To circumvent this problem, set x-use-underline-position-properties
789to nil in your '.emacs'.
790 788
791To see what is the value of UNDERLINE_POSITION defined by the font, 789To see what is the value of UNDERLINE_POSITION defined by the font,
792type 'xlsfonts -lll FONT' and look at the font's UNDERLINE_POSITION property. 790type '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)
13242 x_use_underline_position_properties, 13242 x_use_underline_position_properties,
13243 doc: /* Non-nil means make use of UNDERLINE_POSITION font properties. 13243 doc: /* Non-nil means make use of UNDERLINE_POSITION font properties.
13244A value of nil means ignore them. If you encounter fonts with bogus 13244A value of nil means ignore them. If you encounter fonts with bogus
13245UNDERLINE_POSITION font properties, for example 7x13 on XFree prior 13245UNDERLINE_POSITION font properties, set this to nil. You can also use
13246to 4.1, set this to nil. You can also use `underline-minimum-offset' 13246`underline-minimum-offset' to override the font's UNDERLINE_POSITION for
13247to override the font's UNDERLINE_POSITION for small font display 13247small font display sizes. */);
13248sizes. */);
13249 x_use_underline_position_properties = true; 13248 x_use_underline_position_properties = true;
13250 13249
13251 DEFVAR_BOOL ("x-underline-at-descent-line", 13250 DEFVAR_BOOL ("x-underline-at-descent-line",