aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/descr-text.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/descr-text.el b/lisp/descr-text.el
index 776ce7618d5..22c162a05ac 100644
--- a/lisp/descr-text.el
+++ b/lisp/descr-text.el
@@ -763,6 +763,8 @@ The character information includes:
763 (to (nth 4 composition)) 763 (to (nth 4 composition))
764 glyph) 764 glyph)
765 (if (fontp font) 765 (if (fontp font)
766 ;; GUI frame: show composition in terms of font
767 ;; glyphs.
766 (progn 768 (progn
767 (insert " using this font:\n " 769 (insert " using this font:\n "
768 (symbol-name (font-get font :type)) 770 (symbol-name (font-get font :type))
@@ -773,11 +775,14 @@ The character information includes:
773 (setq glyph (lgstring-glyph gstring from))) 775 (setq glyph (lgstring-glyph gstring from)))
774 (insert (format " %S\n" glyph)) 776 (insert (format " %S\n" glyph))
775 (setq from (1+ from)))) 777 (setq from (1+ from))))
778 ;; TTY frame: show composition in terms of characters.
776 (insert " by these characters:\n") 779 (insert " by these characters:\n")
777 (while (and (<= from to) 780 (while (and (<= from to)
778 (setq glyph (lgstring-glyph gstring from))) 781 (setq glyph (lgstring-glyph gstring from)))
779 (insert (format " %c (#x%x)\n" 782 (insert (format " %c (#x%x) %s\n"
780 (lglyph-char glyph) (lglyph-char glyph))) 783 (lglyph-char glyph) (lglyph-char glyph)
784 (get-char-code-property
785 (lglyph-char glyph) 'name)))
781 (setq from (1+ from))))) 786 (setq from (1+ from)))))
782 (insert " by the rule:\n\t(") 787 (insert " by the rule:\n\t(")
783 (let ((first t)) 788 (let ((first t))