mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 23:00:05 +01:00
EXA: Skip empty glyphs.
This commit is contained in:
parent
5d74416740
commit
ce50bfd336
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue