summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_text.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2014-03-17 19:10:22 +0900
committerCedric BAIL <cedric.bail@samsung.com>2014-03-17 19:10:22 +0900
commit2b84495168b09a7e56620bb346bb492fbd6fee6a (patch)
tree110f4c6436e57d8e82bf7db0189bfe5c4ec9640c /src/lib/edje/edje_text.c
parent8331f6e79f665137c3a7391f863728fa82995b05 (diff)
edje: check font change in edje text part cache infra.
@fix
Diffstat (limited to 'src/lib/edje/edje_text.c')
-rw-r--r--src/lib/edje/edje_text.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/edje/edje_text.c b/src/lib/edje/edje_text.c
index 2d3a38d..6f37c55 100644
--- a/src/lib/edje/edje_text.c
+++ b/src/lib/edje/edje_text.c
@@ -266,7 +266,8 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
266 (ep->typedata.text->cache.align_y == params->type.text.align.y) && 266 (ep->typedata.text->cache.align_y == params->type.text.align.y) &&
267 (ep->typedata.text->cache.elipsis == params->type.text.elipsis) && 267 (ep->typedata.text->cache.elipsis == params->type.text.elipsis) &&
268 (ep->typedata.text->cache.fit_x == chosen_desc->text.fit_x) && 268 (ep->typedata.text->cache.fit_x == chosen_desc->text.fit_x) &&
269 (ep->typedata.text->cache.fit_y == chosen_desc->text.fit_y)) 269 (ep->typedata.text->cache.fit_y == chosen_desc->text.fit_y) &&
270 (ep->typedata.text->cache.in_font == font))
270 { 271 {
271 text = ep->typedata.text->cache.out_str; 272 text = ep->typedata.text->cache.out_str;
272 size = ep->typedata.text->cache.out_size; 273 size = ep->typedata.text->cache.out_size;
@@ -414,6 +415,7 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
414 eina_stringshare_replace(&ep->typedata.text->cache.out_str, text); 415 eina_stringshare_replace(&ep->typedata.text->cache.out_str, text);
415 ep->typedata.text->cache.in_w = sw; 416 ep->typedata.text->cache.in_w = sw;
416 ep->typedata.text->cache.in_h = sh; 417 ep->typedata.text->cache.in_h = sh;
418 ep->typedata.text->cache.in_font = font;
417 ep->typedata.text->cache.out_size = size; 419 ep->typedata.text->cache.out_size = size;
418 ep->typedata.text->cache.align_x = params->type.text.align.x; 420 ep->typedata.text->cache.align_x = params->type.text.align.x;
419 ep->typedata.text->cache.align_y = params->type.text.align.y; 421 ep->typedata.text->cache.align_y = params->type.text.align.y;