Oops, I used the Outline CBox function instead of the Glyph one. Fixed.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@72278
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
{
FT_BBox outbox;
- FT_Outline_Get_CBox(&fi->src->ft.face->glyph->outline, &outbox);
+ FT_Glyph_Get_CBox(fg->glyph, FT_GLYPH_BBOX_UNSCALED,
+ &outbox);
fg->width = EVAS_FONT_ROUND_26_6_TO_INT(outbox.xMax - outbox.xMin);
fg->x_bear = EVAS_FONT_ROUND_26_6_TO_INT(outbox.xMin);
}
text_props->info->refcount = 1;
return EINA_TRUE;
}
+