comparison etc/NEWS @ 111526:5c986eef8f0d

Fix and document display of glyphless characters. src/xdisp.c (set_cursor_from_row): Fix cursor positioning on zero-width characters. (syms_of_xdisp) <glyphless-char-display>: Doc fix. src/.gdbinit (pgx): Adapt to latest changes in `struct glyph'. src/w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the box before drawing the glyphs inside it. src/dispextern.h (enum glyphless_display_method): Rename GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE. All users changed. src/term.c (append_glyphless_glyph, produce_glyphless_glyph): Fix comments. (produce_glyphless_glyph): Enclose "U+nnnn" and "empty box" whitespace in "[]", to simulate a box. Don't use uninitialized variable `width'. lisp/international/characters.el (glyphless-char-display-control): Renamed from glyphless-char-control; all users changed. Doc fix. Signal an error if display method is not one of the recognized symbols. doc/emacs/rmail.texi (Rmail Coding): Characters with no fonts are not necessarily displayed as empty boxes. doc/emacs/mule.texi (Language Environments, Fontsets): Characters with no fonts are not necessarily displayed as empty boxes. doc/emacs/display.texi (Text Display): Document display of glyphless characters. doc/lispref/display.texi (Usual Display): Characters with no fonts are not necessarily displayed as empty boxes. etc/NEWS: Document display of glyphless characters.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 13 Nov 2010 15:29:31 +0200
parents d65a4bd9b059
children 22fafcf25a54
comparison
equal deleted inserted replaced
111525:49c1b16ca6b1 111526:5c986eef8f0d
135 135
136 ** Lucid menus and dialogs can display antialiased fonts if Emacs is built 136 ** Lucid menus and dialogs can display antialiased fonts if Emacs is built
137 with Xft. To change font, use X resource faceName, for example: 137 with Xft. To change font, use X resource faceName, for example:
138 Emacs.pane.menubar.faceName: Courier-12 138 Emacs.pane.menubar.faceName: Courier-12
139 Set faceName to none and use font to use the old X fonts. 139 Set faceName to none and use font to use the old X fonts.
140
141 +++
142 ** Enhanced support for characters that have no glyphs in available fonts
143 If a character has no glyphs in any of the available fonts, Emacs by
144 default will display it either as a hexadecimal code in a box or as a
145 thin 1-pixel space. In addition to these two methods, Emacs can
146 display these characters as empty box, as an acronym, or not display
147 them at all. To change how these characters are displayed, customize
148 the variable `glyphless-char-display-control'.
149
150 On character terminals these methods are used for characters that
151 cannot be encoded by the `terminal-coding-system'.
140 152
141 ** On graphical displays, the mode-line no longer ends in dashes. 153 ** On graphical displays, the mode-line no longer ends in dashes.
142 154
143 ** Basic SELinux support has been added. 155 ** Basic SELinux support has been added.
144 This requires Emacs to be linked with libselinux at build time. 156 This requires Emacs to be linked with libselinux at build time.