for (chr = 0, char_index = 0; *text; text++, char_index ++)
{
FT_UInt index;
- RGBA_Font_Glyph *fg;
+ RGBA_Font_Glyph *fg = NULL;
int chr_x, chr_y, advw;
int gl, kern;
* involved.*/
if (intl_props &&
evas_bidi_is_rtl_char(intl_props, char_index) &&
- fg->glyph->advance.x >> 16 > 0)
+ ((fg->glyph->advance.x >> 16) > 0))
{
if (evas_common_font_query_kerning(fi, index, prev_index, &kern))
pen_x += kern;
for (char_index = 0; *text; text++, char_index++)
{
FT_UInt index;
- RGBA_Font_Glyph *fg;
+ RGBA_Font_Glyph *fg = NULL;
int chr_x, chr_y, chr_w;
int gl, kern;
* involved.*/
if (intl_props &&
evas_bidi_is_rtl_char(intl_props, char_index) &&
- fg->glyph->advance.x >> 16 > 0)
+ ((fg->glyph->advance.x >> 16) > 0))
{
if (evas_common_font_query_kerning(fi, index, prev_index,
&kern))