forked from enlightenment/efl
parent
05085982d0
commit
22547970e9
|
@ -567,6 +567,7 @@ _edje_part_recalc_single(Edje *ed,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!font) font = "";
|
||||||
|
|
||||||
if (ep->text.text_source)
|
if (ep->text.text_source)
|
||||||
{
|
{
|
||||||
|
@ -586,6 +587,8 @@ _edje_part_recalc_single(Edje *ed,
|
||||||
if (ep->text.font) font = ep->text.font;
|
if (ep->text.font) font = ep->text.font;
|
||||||
if (ep->text.size > 0) size = ep->text.size;
|
if (ep->text.size > 0) size = ep->text.size;
|
||||||
}
|
}
|
||||||
|
if (!text) text = "";
|
||||||
|
|
||||||
/* check if the font is embedded in the .eet */
|
/* check if the font is embedded in the .eet */
|
||||||
/* FIXME: we should cache this result */
|
/* FIXME: we should cache this result */
|
||||||
if (ed->file->font_dir)
|
if (ed->file->font_dir)
|
||||||
|
|
Loading…
Reference in New Issue