billiob pushed a commit to branch master.

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

commit 65892e2d8a2b792363bdda43574d240ecf8e23fe
Author: Boris Faure <bill...@gmail.com>
Date:   Wed Mar 23 15:32:50 2016 +0100

    evas_object_textgrid: try bolditalic if original is book
---
 src/lib/evas/canvas/evas_object_textgrid.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_textgrid.c 
b/src/lib/evas/canvas/evas_object_textgrid.c
index 60a5807..778bb96 100644
--- a/src/lib/evas/canvas/evas_object_textgrid.c
+++ b/src/lib/evas/canvas/evas_object_textgrid.c
@@ -1193,7 +1193,8 @@ _evas_textgrid_efl_text_properties_font_set(Eo *eo_obj,
         o->font_bolditalic = NULL;
      }
    if (fdesc->slant == EVAS_FONT_SLANT_NORMAL &&
-       fdesc->weight == EVAS_FONT_WEIGHT_NORMAL)
+       ((fdesc->weight == EVAS_FONT_WEIGHT_NORMAL) ||
+        (fdesc->weight == EVAS_FONT_WEIGHT_BOOK)))
      {
         Evas_Font_Description *bolditalic_desc = evas_font_desc_dup(fdesc);
         int ret;

-- 


Reply via email to