* Evas font: Fix a bug with cluster size calculation with texts ending
with ligatures.
* Edje entry: When cursor is located to each edge, entry now doesn't grab events for cursor movement.
+ * Evas map: don't be crashed even if image size is 0.
pt->fx = p->px;
pt->fy = p->py;
pt->fz = p->z;
- if (uvw == 0) pt->u = 0;
+ if ((uvw == 0) || (imagew == 0)) pt->u = 0;
else pt->u = ((lround(p->u) * imagew) / uvw) * FP1;
- if (uvh == 0) pt->v = 0;
+ if ((uvh == 0) || (imageh == 0)) pt->v = 0;
else pt->v = ((lround(p->v) * imageh) / uvh) * FP1;
if (pt->u < 0) pt->u = 0;
else if (pt->u > (imagew * FP1)) pt->u = (imagew * FP1);