evas_object_textgrid: try bolditalic if original is book

This commit is contained in:
Boris Faure 2016-03-23 15:32:50 +01:00
parent bdec343985
commit 65892e2d8a
1 changed files with 2 additions and 1 deletions

View File

@ -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;