woohyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=bab13de794dc7d099569ae2a036405c0f2809246

commit bab13de794dc7d099569ae2a036405c0f2809246
Author: Ali <ali198...@gmail.com>
Date:   Fri Apr 17 14:26:14 2020 +0900

    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
---
 src/lib/evas/common/evas_font_query.c | 12 +-----------
 1 file changed, 1 insertion(+), 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
              if (evas_common_language_char_script_get(*itr) == 
EVAS_SCRIPT_INHERITED)
                 continue;
 
-             if (!variation_sequence)
-               {
-                  variation_sequence =  VAR_SEQ_SAFE(itr+1);
-               }
-             else
-               {
-                  /* Variation sequence treated as single run, if we found 
one, we keep looking adding to same
-                   * run, but if it is not, then we need to start a new one */
-                  if (variation_sequence != VAR_SEQ_SAFE(itr+1))
-                    break;
-               }
+             variation_sequence =  VAR_SEQ_SAFE(itr+1);
 
              /* Break if either it's not in the font, or if it is in the
               * script's font. */

-- 


Reply via email to