Evas font-engine: simplify 26_6 round to int.

SVN revision: 56510
This commit is contained in:
Tom Hacohen 2011-01-30 10:42:20 +00:00
parent f7dfb4d8fb
commit f1749eaaa4
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ void evas_common_font_int_reload(RGBA_Font_Int *fi);
/* 6th bit is on is the same as frac part >= 0.5 */
# define EVAS_FONT_ROUND_26_6_TO_INT(x) \
((0x20 & x) ? ((x >> 6) + 1) : (x >> 6))
(((x + 0x20) & -0x40) >> 6)
# define EVAS_FONT_CHARACTER_IS_INVISIBLE(x) ( \
((0x200C <= (x)) && ((x) <= 0x200D)) || /* ZWNJ..ZWH */ \