summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli <ali198724@gmail.com>2020-04-17 14:26:14 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2020-04-17 14:26:14 +0900
commitbab13de794dc7d099569ae2a036405c0f2809246 (patch)
tree296723bc51a5185002619316cfa077e4ff927852
parent9b987c67e1e38602ba2e4c9c990798e99d938bbe (diff)
evas_textblock: remove special treat for variation sequence text run
Summary: Now there are no need for special care for variation sequence text run break. General method will care about all types of characters\ this is also related to D11096 Reviewers: woohyun, bowonryu Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11602
-rw-r--r--src/lib/evas/common/evas_font_query.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/evas/common/evas_font_query.c b/src/lib/evas/common/evas_font_query.c
index 1464d7f9db..a25c19c81e 100644
--- a/src/lib/evas/common/evas_font_query.c
+++ b/src/lib/evas/common/evas_font_query.c
@@ -55,17 +55,7 @@ evas_common_font_query_run_font_end_get(RGBA_Font *fn, RGBA_Font_Int **script_fi
55 if (evas_common_language_char_script_get(*itr) == EVAS_SCRIPT_INHERITED) 55 if (evas_common_language_char_script_get(*itr) == EVAS_SCRIPT_INHERITED)
56 continue; 56 continue;
57 57
58 if (!variation_sequence) 58 variation_sequence = VAR_SEQ_SAFE(itr+1);
59 {
60 variation_sequence = VAR_SEQ_SAFE(itr+1);
61 }
62 else
63 {
64 /* Variation sequence treated as single run, if we found one, we keep looking adding to same
65 * run, but if it is not, then we need to start a new one */
66 if (variation_sequence != VAR_SEQ_SAFE(itr+1))
67 break;
68 }
69 59
70 /* Break if either it's not in the font, or if it is in the 60 /* Break if either it's not in the font, or if it is in the
71 * script's font. */ 61 * script's font. */