From ecf9c44d4220c7b2866c1b09d4ad59aa83ad7acb Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 18 Oct 2007 17:44:48 +0200 Subject: EXA: Skip empty glyphs. (cherry picked from commit ce50bfd3369686cfecee5a138bd84ef1107a249d) --- exa/exa_render.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/exa/exa_render.c b/exa/exa_render.c index 9327468..746ce0c 100644 --- a/exa/exa_render.c +++ b/exa/exa_render.c @@ -1196,6 +1196,7 @@ exaGlyphs (CARD8 op, y1 = y - glyph->info.y; if (x1 >= pCmpDrw->width || y1 >= pCmpDrw->height || + glyph->info.width == 0 || glyph->info.height == 0 || (x1 + glyph->info.width) <= 0 || (y1 + glyph->info.height) <= 0) goto nextglyph; -- 1.5.3.6