* which is the current index in the text. This macro exposes (inside
* the loop) the following vars:
* adv - advancement
- * gl - the current unicode code point
+ * _gl - the current unicode code point
* bear_x, bear_y, width - info about the bitmap
* pen_x, pen_y - (also available outside of the loop, but updated here)
* fg - the font glyph.
{ \
FT_UInt index; \
RGBA_Font_Glyph *fg; \
- int gl, kern; \
- gl = *text; \
- if (gl == 0) break;
+ int _gl, kern; \
+ _gl = *text; \
+ if (_gl == 0) break;
/**
* @def EVAS_FONT_WALK_DEFAULT_TEXT_LOGICAL_START
* @internal
* which is the current index in the text. This macro exposes (inside
* the loop) the following vars:
* adv - advancement
- * gl - the current unicode code point
+ * _gl - the current unicode code point
* bear_x, bear_y, width - info about the bitmap
* pen_x, pen_y - (also available outside of the loop, but updated here)
* fg - the font glyph.
{ \
FT_UInt index; \
RGBA_Font_Glyph *fg; \
- int gl, kern; \
- gl = *text; \
- if (gl == 0) break;
+ int _gl, kern; \
+ _gl = *text; \
+ if (_gl == 0) break;
/*FIXME: doc */
#define EVAS_FONT_WALK_DEFAULT_X_OFF (kern)
* @see EVAS_FONT_WALK_DEFAULT_TEXT_END
*/
#define EVAS_FONT_WALK_DEFAULT_TEXT_WORK(is_visual) \
- index = evas_common_font_glyph_search(fn, &fi, gl); \
+ index = evas_common_font_glyph_search(fn, &fi, _gl); \
LKL(fi->ft_mutex); \
fg = evas_common_font_int_cache_glyph_get(fi, index); \
if (!fg) \
continue; \
} \
kern = 0; \
- if (EVAS_FONT_CHARACTER_IS_INVISIBLE(gl)) \
+ if (EVAS_FONT_CHARACTER_IS_INVISIBLE(_gl)) \
{ \
visible = 0; \
} \
{
int chr_x, chr_y, chr_w;
- if (EVAS_FONT_CHARACTER_IS_INVISIBLE(gl))
- continue;
-
EVAS_FONT_WALK_OT_TEXT_WORK(EINA_TRUE);
if (dc->font_ext.func.gl_new)
{
int chr_x, chr_y, chr_w;
- if (EVAS_FONT_CHARACTER_IS_INVISIBLE(gl))
- continue;
-
EVAS_FONT_WALK_DEFAULT_TEXT_WORK(EINA_TRUE);
if (dc->font_ext.func.gl_new)
{ \
FT_UInt index; \
RGBA_Font_Glyph *fg; \
- int gl, kern; \
- gl = 0; /* FIXME: hack */
+ int kern; \
/**
* @def EVAS_FONT_WALK_OT_TEXT_LOGICAL_START
* @internal
{ \
FT_UInt index; \
RGBA_Font_Glyph *fg; \
- int gl, kern; \
- gl = 0; /* FIXME: hack */
+ int kern; \
/*FIXME: doc */
#define EVAS_FONT_WALK_OT_X_OFF \
continue; \
} \
kern = 0; \
- if (EVAS_FONT_CHARACTER_IS_INVISIBLE(gl)) \
+ if (EVAS_FONT_CHARACTER_IS_INVISIBLE(text[EVAS_FONT_WALK_OT_POS])) \
{ \
visible = 0; \
} \