forked from enlightenment/efl
evas textgrid - fix drawing of codepoints that are 0
this fixes artifacts if you have cells with 0 codepoints and also have underlines or strikethroughs in them. @fix
This commit is contained in:
parent
d5c3ad97e5
commit
becd02aaa6
|
@ -658,9 +658,10 @@ evas_object_textgrid_render(Evas_Object *eo_obj,
|
|||
else c = eina_array_data_get(palette, cells->fg);
|
||||
if ((c) && (c->a > 0))
|
||||
{
|
||||
evas_object_textgrid_row_text_append(row, eo_obj, o, xp,
|
||||
cells->codepoint,
|
||||
c->r, c->g, c->b, c->a);
|
||||
if (cells->codepoint > 0)
|
||||
evas_object_textgrid_row_text_append(row, eo_obj, o, xp,
|
||||
cells->codepoint,
|
||||
c->r, c->g, c->b, c->a);
|
||||
// XXX: underlines and strikethroughs dont get
|
||||
// merged into horizontal runs like bg rects above
|
||||
if (cells->underline)
|
||||
|
|
Loading…
Reference in New Issue