diff options
| author | Eli Zaretskii | 2010-11-13 15:29:31 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2010-11-13 15:29:31 +0200 |
| commit | 0eb025fb55277c038c39e7325a556de46ecbd2e4 (patch) | |
| tree | 677650021eae4915030d38baabe6c872eaa31845 /etc | |
| parent | 6e060cee8186d9fe5ad5f8a783d45f80f9b1bbe3 (diff) | |
| download | emacs-0eb025fb55277c038c39e7325a556de46ecbd2e4.tar.gz emacs-0eb025fb55277c038c39e7325a556de46ecbd2e4.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index a01fb8beef2..06bd63e9f8c 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-11-13 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * NEWS: Document display of glyphless characters. | ||
| 4 | |||
| 1 | 2010-11-11 Eric Schulte <schulte.eric@gmail.com> | 5 | 2010-11-11 Eric Schulte <schulte.eric@gmail.com> |
| 2 | 6 | ||
| 3 | * refcards/orgcard.tex: Add new Babel key sequences. | 7 | * refcards/orgcard.tex: Add new Babel key sequences. |
| @@ -138,6 +138,18 @@ 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 | 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'. | ||
| 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. |