/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.843.2.13 by handa, Fri Apr 16 12:50:51 2004 UTC revision 1.843.2.14 by handa, Sat May 29 02:11:25 2004 UTC
# Line 17923  compute_overhangs_and_x (s, x, backward_ Line 17923  compute_overhangs_and_x (s, x, backward_
17923                   abort ();                                                 \                   abort ();                                                 \
17924                 }                                                           \                 }                                                           \
17925                                                                             \                                                                             \
17926               set_glyph_string_background_width (s, START, LAST_X);         \               if (s)                                                        \
17927               (X) += s->width;                                              \                 {                                                           \
17928                     set_glyph_string_background_width (s, START, LAST_X);     \
17929                     (X) += s->width;                                          \
17930                   }                                                           \
17931              }                                                              \              }                                                              \
17932         }                                                                   \         }                                                                   \
17933       while (0)       while (0)
# Line 18819  x_produce_glyphs (it) Line 18822  x_produce_glyphs (it)
18822           here we check only the font of the first glyph.  This leads           here we check only the font of the first glyph.  This leads
18823           to incorrect display, but it's very rare, and C-l (recenter)           to incorrect display, but it's very rare, and C-l (recenter)
18824           can correct the display anyway.  */           can correct the display anyway.  */
18825        if (cmp->font != (void *) font)        if (cmp->glyph_len == 0)
18826            {
18827              cmp->lbearing = cmp->rbearing = 0;
18828              cmp->pixel_width = cmp->ascent = cmp->descent = 0;
18829            }
18830          else if (cmp->font != (void *) font)
18831          {          {
18832            /* Ascent and descent of the font of the first character of            /* Ascent and descent of the font of the first character of
18833               this composition (adjusted by baseline offset).  Ascent               this composition (adjusted by baseline offset).  Ascent

Legend:
Removed from v.1.843.2.13  
changed lines
  Added in v.1.843.2.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26