summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/common/evas_font_load.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lib/evas/common/evas_font_load.c b/src/lib/evas/common/evas_font_load.c
index f12db1eb45..5ede331f2d 100644
--- a/src/lib/evas/common/evas_font_load.c
+++ b/src/lib/evas/common/evas_font_load.c
@@ -682,15 +682,6 @@ evas_common_font_free(RGBA_Font *fn)
682 free(fn); 682 free(fn);
683} 683}
684 684
685static void
686_evas_common_font_rehint(RGBA_Font_Int *fi, Font_Hint_Flags hinting)
687{
688 if (fi->fash)
689 fi->fash->freeme(fi->fash);
690 fi->fash = NULL;
691 fi->hinting = hinting;
692}
693
694EAPI void 685EAPI void
695evas_common_font_hinting_set(RGBA_Font *fn, Font_Hint_Flags hinting) 686evas_common_font_hinting_set(RGBA_Font *fn, Font_Hint_Flags hinting)
696{ 687{
@@ -702,7 +693,7 @@ evas_common_font_hinting_set(RGBA_Font *fn, Font_Hint_Flags hinting)
702 EINA_LIST_FOREACH(fn->fonts, l, fi) 693 EINA_LIST_FOREACH(fn->fonts, l, fi)
703 { 694 {
704 if (fi->hinting != fn->hinting) 695 if (fi->hinting != fn->hinting)
705 _evas_common_font_rehint(fi, fn->hinting); 696 _evas_common_font_int_clear(fi);
706 fi->hinting = fn->hinting; 697 fi->hinting = fn->hinting;
707 } 698 }
708} 699}