Evas font-engine: Cache pen position instead of advance.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 20 Apr 2011 14:20:51 +0000 (14:20 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 20 Apr 2011 14:20:51 +0000 (14:20 +0000)
commitc689871aca7af08543940a8eb02f9e5fb75e5182
tree01d0ed772801abffb81d8f1c2ae927493788986d
parent073b38d0f4802cc1e88080d30152abf1e7af4371
Evas font-engine: Cache pen position instead of advance.

We only really use adavnce for calculating the pen position, so it makes more
sense to just cache the pen_position instead and calculate advance from
that if ever needed.
This means size/advance calculations are now O(1) because we don't need to
walk the strings anymore.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58756 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/engines/common/evas_font_default_walk.x
src/lib/engines/common/evas_font_ot.c
src/lib/engines/common/evas_font_query.c
src/lib/engines/common/evas_text_utils.c
src/lib/engines/common/evas_text_utils.h