#endif
im = dst->image.data;
+#ifdef OT_SUPPORT
+ /* FIXME-tom: Should be applied to non-ot as well once we are capable of
+ * doing it */
fi = text_props->font_instance;
evas_common_font_int_reload(fi);
FTUNLOCK();
fi->src->current_size = fi->size;
}
+#endif
EVAS_FONT_WALK_TEXT_START()
{
gl = dc->font_ext.func.gl_new ? 1: 0;
above = 0; below = 0; baseline = 0; height = 0; descent = 0;
+#ifdef OT_SUPPORT
+ /* FIXME-tom: Should be applied to non-ot as well once we are capable of
+ * doing it */
fi = text_props->font_instance;
evas_common_font_int_reload(fi);
FTUNLOCK();
fi->src->current_size = fi->size;
}
+#endif
/* First pass: Work out how big and populate */
/* It's a bit hackish to use index and fg here as they are internal,
gl_itr++;
}
#else
+ /* FIXME: Move outside when we can (read comment above). */
+ text_props->font_instance = NULL;
+
/* We are walking the string in visual ordering */
Evas_Font_Glyph_Info *gl_itr;
Eina_Bool use_kerning;