diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-10-18 17:44:48 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-10-18 17:44:48 +0200 |
commit | ce50bfd3369686cfecee5a138bd84ef1107a249d (patch) | |
tree | 5108330dd6b756880bca5f72cab0db43fce53154 /exa | |
parent | 5d74416740de883b7ef0994afea4bbd4d3901be0 (diff) |
EXA: Skip empty glyphs.
Diffstat (limited to 'exa')
-rw-r--r-- | 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 65e67d8d9..cc2f59d6d 100644 --- a/exa/exa_render.c +++ b/exa/exa_render.c @@ -1246,6 +1246,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; |