billiob pushed a commit to branch master.
commit 1f298139d866ab8f5b77de300e7c356fca923e33
Author: Jean-Philippe Andre <[email protected]>
Date: Mon Jun 24 14:28:27 2013 +0200
evas: fix crash after font rehint
---
src/lib/evas/common/evas_font_load.c | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/src/lib/evas/common/evas_font_load.c
b/src/lib/evas/common/evas_font_load.c
index f12db1e..5ede331 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)
free(fn);
}
-static void
-_evas_common_font_rehint(RGBA_Font_Int *fi, Font_Hint_Flags hinting)
-{
- if (fi->fash)
- fi->fash->freeme(fi->fash);
- fi->fash = NULL;
- fi->hinting = hinting;
-}
-
EAPI void
evas_common_font_hinting_set(RGBA_Font *fn, Font_Hint_Flags hinting)
{
@@ -702,7 +693,7 @@ evas_common_font_hinting_set(RGBA_Font *fn, Font_Hint_Flags
hinting)
EINA_LIST_FOREACH(fn->fonts, l, fi)
{
if (fi->hinting != fn->hinting)
- _evas_common_font_rehint(fi, fn->hinting);
+ _evas_common_font_int_clear(fi);
fi->hinting = fn->hinting;
}
}
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev