Mercurial > emacs
comparison src/term.c @ 108420:c82e39ab7a78
Merge from mainline.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Fri, 19 Feb 2010 15:29:56 +0000 |
parents | f32d789c9aab |
children | 5a46c741f65e a5eeeb631d8a c896870df404 |
comparison
equal
deleted
inserted
replaced
108419:26b8483edca9 | 108420:c82e39ab7a78 |
---|---|
1566 /* Produce glyphs for the display element described by IT. *IT | 1566 /* Produce glyphs for the display element described by IT. *IT |
1567 specifies what we want to produce a glyph for (character, image, ...), | 1567 specifies what we want to produce a glyph for (character, image, ...), |
1568 and where in the glyph matrix we currently are (glyph row and hpos). | 1568 and where in the glyph matrix we currently are (glyph row and hpos). |
1569 produce_glyphs fills in output fields of *IT with information such as the | 1569 produce_glyphs fills in output fields of *IT with information such as the |
1570 pixel width and height of a character, and maybe output actual glyphs at | 1570 pixel width and height of a character, and maybe output actual glyphs at |
1571 the same time if IT->glyph_row is non-null. See the explanation of | 1571 the same time if IT->glyph_row is non-null. For an overview, see |
1572 struct display_iterator in dispextern.h for an overview. | 1572 the explanation in dispextern.h, before the definition of the |
1573 display_element_type enumeration. | |
1573 | 1574 |
1574 produce_glyphs also stores the result of glyph width, ascent | 1575 produce_glyphs also stores the result of glyph width, ascent |
1575 etc. computations in *IT. | 1576 etc. computations in *IT. |
1576 | 1577 |
1577 IT->glyph_row may be null, in which case produce_glyphs does not | 1578 IT->glyph_row may be null, in which case produce_glyphs does not |
3936 { | 3937 { |
3937 va_list ap; | 3938 va_list ap; |
3938 va_start (ap, str); | 3939 va_start (ap, str); |
3939 fprintf (stderr, "emacs: "); | 3940 fprintf (stderr, "emacs: "); |
3940 vfprintf (stderr, str, ap); | 3941 vfprintf (stderr, str, ap); |
3942 if (!(strlen (str) > 0 && str[strlen (str) - 1] == '\n')) | |
3943 fprintf (stderr, "\n"); | |
3941 va_end (ap); | 3944 va_end (ap); |
3942 fflush (stderr); | 3945 fflush (stderr); |
3943 exit (1); | 3946 exit (1); |
3944 } | 3947 } |
3945 | 3948 |