# HG changeset patch # User Gerd Moellmann # Date 960287808 0 # Node ID 679888a293245c329d659aef5354e09a137c06dd # Parent 690da56ef774b5b2bced3718f4629eb49d95c5de (x_produce_glyphs): Don't xassert `it->descent > 0'; this isn't true for images with `:ascent 100'. diff -r 690da56ef774 -r 679888a29324 src/xterm.c --- a/src/xterm.c Tue Jun 06 05:43:12 2000 +0000 +++ b/src/xterm.c Tue Jun 06 10:36:48 2000 +0000 @@ -2249,8 +2249,9 @@ else if (it->what == IT_STRETCH) x_produce_stretch_glyph (it); - /* Accumulate dimensions. */ - xassert (it->ascent >= 0 && it->descent > 0); + /* Accumulate dimensions. Note: can't assume that it->descent > 0 + because this isn't true for images with `:ascent 100'. */ + xassert (it->ascent >= 0 && it->descent >= 0); if (it->area == TEXT_AREA) it->current_x += it->pixel_width;