Evas font: Revert last 2 commits by Hermet (62659, 62675).
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Aug 2011 08:23:04 +0000 (08:23 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 22 Aug 2011 08:23:04 +0000 (08:23 +0000)
SPANK SPANK, they broke compilation. Please use the builtin revert
functions when you revert commits. Either:
GIT: 'git revert <commit hash>' (yeah, git is better).
or
SVN: 'svn merge -c <revision> .'

This will prevent this kind of erros from happenning in the future.

Also, plesae compile before committing.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@62678 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_font_default_walk.x

index 298694d..56807b8 100644 (file)
 /*FIXME: doc */
 #ifdef OT_SUPPORT
 # define EVAS_FONT_WALK_X_OFF \
-              (EVAS_FONT_ROUND_26_6_TO_INT(EVAS_FONT_OT_X_OFF_GET(*_ot_itr))
+             (EVAS_FONT_ROUND_26_6_TO_INT(EVAS_FONT_OT_X_OFF_GET(*_ot_itr)))
 # define EVAS_FONT_WALK_Y_OFF \
-              (EVAS_FONT_ROUND_26_6_TO_INT(EVAS_FONT_OT_Y_OFF_GET(*_ot_itr))
+             (EVAS_FONT_ROUND_26_6_TO_INT(EVAS_FONT_OT_Y_OFF_GET(*_ot_itr)))
 # define EVAS_FONT_WALK_POS \
-              (EVAS_FONT_OT_POS_GET(*_ot_itr) - text_props->text_offset)
+             (EVAS_FONT_OT_POS_GET(*_ot_itr) - text_props->text_offset)
 # define EVAS_FONT_WALK_POS_NEXT \
               ((!EVAS_FONT_WALK_IS_LAST) ? \
-               (EVAS_FONT_OT_POS_GET(*(_ot_itr + 1)) \
-                text_props->text_offset : \
+               EVAS_FONT_OT_POS_GET(*(_ot_itr + 1)) - \
+                text_props->text_offset : \
                EVAS_FONT_WALK_POS \
               )
 # define EVAS_FONT_WALK_POS_PREV \
              ((char_index > 0) ? \
-              (EVAS_FONT_OT_POS_GET(*(_ot_itr - 1)) \
-               - text_props->text_offset : \
+             EVAS_FONT_OT_POS_GET(*(_ot_itr - 1)) - \
+              text_props->text_offset : \
               EVAS_FONT_WALK_POS \
              )
 #else