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) |
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 |