Revert "Evas textblock: Add glyphs shaping exception with checking language script" 35/83535/2
authorYoungbok Shin <youngb.shin@samsung.com>
Thu, 11 Aug 2016 10:32:01 +0000 (19:32 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Thu, 18 Aug 2016 13:15:51 +0000 (06:15 -0700)
This reverts commit 0a6f9d1c7c4bfb97908e30d5edc095be6131733f.

Change-Id: I62fbf09944db9515d2885c85bb86f6d6a48cac9b
Signed-off-by: Youngbok Shin <youngb.shin@samsung.com>
src/lib/evas/canvas/evas_object_text.c
src/lib/evas/canvas/evas_object_textblock.c
src/lib/evas/common/evas_text_utils.h

index 6005344..05516d9 100644 (file)
@@ -543,17 +543,10 @@ _evas_object_text_item_new(Evas_Object_Protected_Data *obj,
 
    if (fi)
      {
-        /* TIZEN_ONLY(20160422): Add glyphs shaping exception with checking language script.
         ENFN->font_text_props_info_create(ENDT,
               fi, str + pos, &it->text_props,
               o->bidi_par_props, it->text_pos, len, EVAS_TEXT_PROPS_MODE_SHAPE,
               o->cur.fdesc->lang);
-         */
-        ENFN->font_text_props_info_create(ENDT,
-              fi, str + pos, &it->text_props,
-              o->bidi_par_props, it->text_pos, len, EVAS_TEXT_PROPS_MODE_CHECK(script),
-              o->cur.fdesc->lang);
-        /* END */
         _evas_object_text_item_update_sizes(obj, o, it);
      }
    o->items = (Evas_Object_Text_Item *)
index af5c020..28c92f2 100644 (file)
@@ -4111,17 +4111,10 @@ skip:
 
              if (cur_fi)
                {
-                  /* TIZEN_ONLY(20160422): Add glyphs shaping exception with checking language script.
                   ENFN->font_text_props_info_create(ENDT,
                         cur_fi, str, &ti->text_props, c->par->bidi_props,
                         ti->parent.text_pos, run_len, EVAS_TEXT_PROPS_MODE_SHAPE,
                         ti->parent.format->font.fdesc->lang);
-                   */
-                  ENFN->font_text_props_info_create(ENDT,
-                        cur_fi, str, &ti->text_props, c->par->bidi_props,
-                        ti->parent.text_pos, run_len, EVAS_TEXT_PROPS_MODE_CHECK(script),
-                        ti->parent.format->font.fdesc->lang);
-                  /* END */
                }
 
              while ((queue->start + queue->off) < (run_start + run_len))
@@ -4804,17 +4797,10 @@ _layout_ellipsis_item_new(Ctxt *c, const Evas_Object_Textblock_Item *cur_it)
               ellip_ti->parent.format->font.font, &script_fi, &cur_fi,
               script, _ellip_str, len);
 
-        /* TIZEN_ONLY(20160422): Add glyphs shaping exception with checking language script.
         ENFN->font_text_props_info_create(ENDT,
               cur_fi, _ellip_str, &ellip_ti->text_props,
               c->par->bidi_props, ellip_ti->parent.text_pos, len, EVAS_TEXT_PROPS_MODE_SHAPE,
               ellip_ti->parent.format->font.fdesc->lang);
-         */
-        ENFN->font_text_props_info_create(ENDT,
-              cur_fi, _ellip_str, &ellip_ti->text_props,
-              c->par->bidi_props, ellip_ti->parent.text_pos, len, EVAS_TEXT_PROPS_MODE_CHECK(script),
-              ellip_ti->parent.format->font.fdesc->lang);
-        /* END */
      }
 
    _text_item_update_sizes(c, ellip_ti);
@@ -7672,17 +7658,10 @@ _layout_hyphen_item_new(Ctxt *c, const Evas_Object_Textblock_Text_Item *cur_ti)
               hyphen_ti->parent.format->font.font, &script_fi, &cur_fi,
               script, _hyphen_str, len);
 
-        /* TIZEN_ONLY(20160422): Add glyphs shaping exception with checking language script.
         ENFN->font_text_props_info_create(ENDT,
               cur_fi, _hyphen_str, &hyphen_ti->text_props,
               c->par->bidi_props, hyphen_ti->parent.text_pos, len, EVAS_TEXT_PROPS_MODE_SHAPE,
               hyphen_ti->parent.format->font.fdesc->lang);
-         */
-        ENFN->font_text_props_info_create(ENDT,
-              cur_fi, _hyphen_str, &hyphen_ti->text_props,
-              c->par->bidi_props, hyphen_ti->parent.text_pos, len, EVAS_TEXT_PROPS_MODE_CHECK(script),
-              hyphen_ti->parent.format->font.fdesc->lang);
-        /* END */
      }
 
    _text_item_update_sizes(c, hyphen_ti);
index 040b532..96f3d2a 100644 (file)
@@ -45,12 +45,6 @@ typedef enum
    (0x0E33 == (x))
 //
 
-/* TIZEN_ONLY(20160422): Add glyphs shaping exception with checking language script. */
-#define EVAS_TEXT_PROPS_MODE_CHECK(script) \
-   ((script == EVAS_SCRIPT_LATIN) ? \
-    EVAS_TEXT_PROPS_MODE_NONE : EVAS_TEXT_PROPS_MODE_SHAPE)
-/* END */
-
 typedef struct _Evas_Glyph Evas_Glyph;
 typedef struct _Evas_Glyph_Array Evas_Glyph_Array;