efl/legacy/edje/src
Gustavo Sverzut Barbieri 08bfdacdee Bugfix and refactor get of font based on text_class.
Edje tries to copy original style to font provided by text_class if
this have no style.

However code was supposing that text_class font always had more than
one occurrence, these separated with ',' and did not check if this is
not the case, so "e = strchr(',', tok);" was returning NULL and all
the math were using negative values.

The fix now does the proper checking, avoid one useless alloca() and
the respective copy, also doing the copies with memcpy() since sizes
are already known.

Refactory was done to make code simpler and also avoid having it
copied 3 times.


SVN revision: 33869
2008-02-29 21:43:55 +00:00
..
bin edje data file patches in - not fill though. 2008-01-21 01:03:04 +00:00
lib Bugfix and refactor get of font based on text_class. 2008-02-29 21:43:55 +00:00
.cvsignore added .cvsignore files 2004-01-17 16:36:46 +00:00
Makefile.am in we go edje... no it doesnt do anything useful at the moment... 2003-06-02 23:49:56 +00:00