summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-10-18 17:44:48 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-10-18 17:44:48 +0200
commitce50bfd3369686cfecee5a138bd84ef1107a249d (patch)
tree5108330dd6b756880bca5f72cab0db43fce53154
parent5d74416740de883b7ef0994afea4bbd4d3901be0 (diff)
EXA: Skip empty glyphs.
-rw-r--r--exa/exa_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c
index 65e67d8d9..cc2f59d6d 100644
--- a/exa/exa_render.c
+++ b/exa/exa_render.c
@@ -1248,2 +1248,3 @@ exaGlyphs (CARD8 op,
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)