forked from enlightenment/enlightenment
add epplet dir to evas font list.
so, epplet specific fonts go in epplet dir, not in data/fonts SVN revision: 5907
This commit is contained in:
parent
d284db6c28
commit
dbcb4acf5e
|
@ -212,7 +212,10 @@ class EvasObject
|
||||||
function addText(string font, number size, string text)
|
function addText(string font, number size, string text)
|
||||||
%{
|
%{
|
||||||
if (EvasObj->evas)
|
if (EvasObj->evas)
|
||||||
|
{
|
||||||
|
evas_font_add_path(EvasObj->evas, EvasObj->epp->dir);
|
||||||
EvasObj->obj = evas_add_text(EvasObj->evas, font, (long)size, text);
|
EvasObj->obj = evas_add_text(EvasObj->evas, font, (long)size, text);
|
||||||
|
}
|
||||||
ffree(font);
|
ffree(font);
|
||||||
ffree(text);
|
ffree(text);
|
||||||
%}
|
%}
|
||||||
|
|
Loading…
Reference in New Issue