#ifdef HAVE_FONTCONFIG
static Evas_Font_Set *
-evas_load_fontconfig(Evas *eo_evas, FcFontSet *set, int size,
+_evas_load_fontconfig(Evas_Font_Set *font, Evas *eo_evas, FcFontSet *set, int size,
Font_Rend_Flags wanted_rend)
{
Evas_Public_Data *evas = eo_data_scope_get(eo_evas, EVAS_CLASS);
- Evas_Font_Set *font = NULL;
int i;
/* Do loading for all in family */
#ifdef HAVE_FONTCONFIG
if (found_fd)
{
- font = evas_load_fontconfig(evas->evas, found_fd->set, size, wanted_rend);
+ font = _evas_load_fontconfig(font, evas->evas, found_fd->set, size, wanted_rend);
goto on_find;
}
#endif
#ifdef HAVE_FONTCONFIG
if (found_fd)
{
- font = evas_load_fontconfig(evas->evas, found_fd->set, size, wanted_rend);
+ font = _evas_load_fontconfig(font, evas->evas, found_fd->set, size, wanted_rend);
goto on_find;
}
#endif
}
else
{
- font = evas_load_fontconfig(evas->evas, set, size, wanted_rend);
+ font = _evas_load_fontconfig(font, evas->evas, set, size, wanted_rend);
}
}
#endif