summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/software_generic/evas_engine.c
diff options
context:
space:
mode:
authorBowon Ryu <bowon.ryu@samsung.com>2020-07-22 19:16:32 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2020-07-22 19:16:32 +0900
commit59b9bbc496c0503ece2fa39d8d031d2933f10bc0 (patch)
tree33aadf7fb47fed51f3879b63e065a1c28e00ab02 /src/modules/evas/engines/software_generic/evas_engine.c
parent534457c51d0afc9a3a50a71bb0823e786f0b1bb8 (diff)
edje_textblock: remove duplicated textblock style properties
Summary: When there is "font" and "font_size" in textblock style (already defined), If "font" and "font_size" are set using edje_text_class_set(), then "font" and "font_size" are defined duplicated in texblock style through eina_strbuf_append. Duplicate properties use memory unnecessarily, and also it is possible to cause confusion at debbuging. This patch replaces duplicate properties "font", "font_size" using eina_strbuf_replace. Test Plan: * textblock style in edc "font=Sans font_size=20 wrap=mixed text_class=TEXT_CLASS"; * edje_text_class_set in c edje_text_class_set("TEXT_CLASS", "font=DejavuSans", 40); * textblock style at runtime (BEFORE) DEFAULT='font=Sans font_size=20 wrap=mixed font_size=40.0 font=DejavuSans' * textblock style at runtime (AFTER) DEFAULT='font=DejavuSans font_size=40 wrap=mixed' Reviewers: subodh6129, woohyun, ali.alzyod Reviewed By: ali.alzyod Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11962
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions