efl_ui_textpath : enable anti-alising for better quality. 30/202930/1
authorHermet Park <hermetpark@gmail.com>
Mon, 8 Apr 2019 04:16:24 +0000 (13:16 +0900)
committerHermet Park <hermetpark@gmail.com>
Mon, 8 Apr 2019 04:24:09 +0000 (13:24 +0900)
Summary:
Current textpath on sw rendering is too jiggled,
quaility is very poor to use.

This option uses better quality texture mapping logic
in order to improve the image quality.

Depends on D8106

Reviewers: #committers

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8465

Change-Id: I572c3fc6c65880807e91fbfb0abd70d7cabfcb8b

src/lib/elementary/efl_ui_textpath.c

index 483c8ff..b602f6c 100644 (file)
@@ -390,6 +390,7 @@ _text_draw(void *data)
         remained_w -= seg->length;
      }
    evas_object_map_enable_set(pd->text_obj, EINA_TRUE);
+   evas_object_anti_alias_set(pd->text_obj, EINA_TRUE);
    evas_object_map_set(pd->text_obj, map);
    evas_map_free(map);