projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae7282
)
evas: fix crash after font rehint
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Mon, 24 Jun 2013 12:28:27 +0000
(14:28 +0200)
committer
Boris Faure
<billiob@gmail.com>
Mon, 24 Jun 2013 12:52:54 +0000
(14:52 +0200)
src/lib/evas/common/evas_font_load.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/common/evas_font_load.c
b/src/lib/evas/common/evas_font_load.c
index
f12db1e
..
5ede331
100644
(file)
--- 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;
}
}