1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00

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.
This commit is contained in:
Glenn Morris 2018-02-13 14:13:53 -08:00
parent 98f4e336e8
commit 6c7186de3b
2 changed files with 5 additions and 8 deletions

View file

@ -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.

View file

@ -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",