Evas font-engine: Reverted my hack in 53828 because cedric already implemented clipping to object geometry.

SVN revision: 53830
This commit is contained in:
Tom Hacohen 2010-10-24 12:28:36 +00:00
parent b705c2c038
commit 9a89173df6
1 changed files with 0 additions and 10 deletions

View File

@ -614,16 +614,6 @@ evas_common_font_draw_internal(RGBA_Image *dst, RGBA_Draw_Context *dc, RGBA_Font
{
if (dx + w > (ext_x + ext_w))
in_w += (dx + w) - (ext_x + ext_w);
/* FIXME: Hack around the bug
* with clipping not taking
* textblock's size into
* account */
if (dx < x)
{
in_w += x - dx;
in_x = x - dx;
dx = x;
}
if (dx < ext_x)
{
in_w += ext_x - dx;