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)
commite33580de9404699147e6a0a23894bea49167fd17
tree5db37da581e392cf6db9a6104a9c0b2016fd563b
parent44e0aead5ddc74edde9c26bf84dadae1cd24215b
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: svn+ssh://svn.enlightenment.org/var/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