evas/cserve2: Use width and horizontal bearing from
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 15 May 2012 21:15:20 +0000 (21:15 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 15 May 2012 21:15:20 +0000 (21:15 +0000)
commitc74f8402752352963d8843910637d370c53e5f7b
tree5db37da581e392cf6db9a6104a9c0b2016fd563b
parentce34779adb620c9da340ae7aa87ee5093367c0d3
evas/cserve2: Use width and horizontal bearing from
 glyph metrics.
Instead of having to render the glyph to get the width and horizontal
bearing of it, it's possible to get this information from the glyph
metrics (which are available on the glyph slot).

This change now allows Evas to only render the glyph at the rendering
phase, instead of having to render it during layout phase.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@71132 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/engines/common/evas_font_main.c
src/lib/engines/common/evas_text_utils.c
src/lib/include/evas_common.h