canvas font: correct wrong masking length.
the masking length should be x2 - x1 otherwise, it will try to mask over regions with dirty pixels. @fix
This commit is contained in:
parent
17f0d23e37
commit
6684f41626
|
@ -550,7 +550,7 @@ evas_common_font_glyph_draw(RGBA_Font_Glyph *fg,
|
|||
|
||||
ptr = dst + (x + x1) + ((y + row) * dst_pitch);
|
||||
buf_ptr = buf + (row * w) + x1;
|
||||
func(buf_ptr, mask, 0, ptr, w);
|
||||
func(buf_ptr, mask, 0, ptr, x2 - x1);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue