Mercurial > emacs
changeset 17178:4173a7215c5b
(x_list_fonts): Comment about cached font list added.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 18 Mar 1997 23:31:34 +0000 |
parents | 9e550b522bc0 |
children | 9468df9944cc |
files | src/xterm.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Tue Mar 18 23:16:27 1997 +0000 +++ b/src/xterm.c Tue Mar 18 23:31:34 1997 +0000 @@ -6140,6 +6140,10 @@ list = Fassoc (key, XCONS (FRAME_X_DISPLAY_INFO (f)->name_list_element)->cdr); + /* Now LIST has the form (KEY . FONT-DATA-LIST), where KEY is a + pattern which matches font names in FONT-DATA-LIST, FONT-DATA-LIST + is a list of cons cells for the form (FONTNAME . FONTWIDTH). */ + if (!NILP (list)) list = XCONS (list)->cdr; else @@ -6167,7 +6171,8 @@ /* Count the number of dashes in NAMES[I]. If there are 14 dashes, and the field value following 12th dash (AVERAGE_WIDTH) is 0, this is a auto-scaled font - which is of no use. Let's ignore it. */ + which is usually too ugly to be used for editing. + Let's ignore it. */ while (*p) if (*p++ == '-') {