efl/legacy/edje
Gustavo Sverzut Barbieri b542743d9e Fix calculation of font size when text.fit_y is set.
Before it was using a linear search with initial step proportional to
difference bettwen desired and current height, but the way it was
implemented it was giving incorrect values, for example: a text in
an animation that enlarges height was getting size_{n} < size_{n-1},
where it should be always the oposite (the sequence was like: 31, 32,
33, 34, 31, 33, 34, 35, ...).
   One way to avoid that was to recalculate "dif" based on new "th",
but it quickly drop to 1.

The current implementation now uses a binary search to find the first
size that matches the desired height and then a linear search to
search the largest font doing that (differents sizes may result in the
same height). This linear search is often an extra lookup and can be
avoided if we want just something that fits (instead of the largest).


SVN revision: 32146
2007-10-22 22:31:13 +00:00
..
data Missing drag_step/page proto. 2007-08-11 13:20:33 +00:00
debian remove edje-config from install files. 2007-07-03 11:53:07 +00:00
doc Sun Jan 23 22:30:28 2005 Michael Jennings (mej) 2005-01-24 02:26:35 +00:00
src Fix calculation of font size when text.fit_y is set. 2007-10-22 22:31:13 +00:00
.cvsignore Added cvsignore entries: mainly for *.spec files, 2005-12-04 17:16:20 +00:00
AUTHORS AUTHOR++ 2007-05-27 05:30:05 +00:00
COPYING in we go edje... no it doesnt do anything useful at the moment... 2003-06-02 23:49:56 +00:00
COPYING-PLAIN in we go edje... no it doesnt do anything useful at the moment... 2003-06-02 23:49:56 +00:00
ChangeLog - Fix warnings 2004-01-15 00:12:19 +00:00
Doxyfile updated Doxyfiles 2004-10-22 19:12:14 +00:00
INSTALL make edje binaries compile and allow the creation of the edje shared lib on windows. Remove some trailing spaces 2007-08-26 12:54:51 +00:00
Makefile.am removed edje-config.in because of pkg-config 2007-07-01 18:03:33 +00:00
NEWS - Fix warnings 2004-01-15 00:12:19 +00:00
README edje no longer needs imlib2. 2005-11-11 06:49:57 +00:00
autogen.sh Remove unused file. 2007-03-25 08:46:57 +00:00
configure.in Do not use deprecated syntax anymore. Check versions of autoconf 2007-10-09 20:54:50 +00:00
edje.c.in edje no longer needs imlib2. 2005-11-11 06:49:57 +00:00
edje.pc.in move stuff to Libs.private 2007-03-23 23:09:49 +00:00
edje.spec.in removed edje-config.in because of pkg-config 2007-07-01 18:03:33 +00:00
edje.supp added valgrind suppression file for Edje 2004-01-17 23:53:57 +00:00
gendoc * prelim edje.pc. emotion.pc wants this. 2004-07-30 18:18:50 +00:00

README

Edje 0.5.0

A graphical layout and animation library for animated resizable, compressed and
scalable themes.

It's current under development and isn't complete. See src/lib/edje_private.h
for a list of FIXME's to do. Hopefully it will be complete in a few weeks.

Quick start-up guide:

1. You need eet from the HEAD cvs branch (must be up-to-date)

  cvs co e17/libs/eet
  cd e17/libs/eet
  ./autogen.sh
  ./configure
  make
  sudo make install
  cd

2. You need evas from the HEAD branch built with eet loader support.

  cvs co e17/libs/evas
  cd e17/libs/evas
  ./autogen.sh
  ./configure
  make
  sudo make install
  cd
  
3. You need ecore from the HEAD cvs branch

  cvs co e17/libs/ecore
  cd e17/libs/ecore
  ./autogen.sh
  ./configure
  make
  sudo make install
  cd

4. You need embryo from the HEAD cvs branch

  cvs co e17/libs/embryo
  cd e17/libs/embryo
  ./autogen.sh
  ./configure
  make
  sudo make install
  cd

5. You already have Edje. now build it:

   ./autogen.sh
   make
   sudo make install

You now want to go test it out. first you'll need to make an Edje EET file.
   
   cd data
   ./e_logo.sh
   
Now you can view the Edje you just built:
   
   edje ./e_logo.edj
   
You can view multiple files at once with the Edje test program:
   
   edje ./e_logo.edj ./e_logo.edj ./e_logo.edj
   
to view the same one 3 times.
   
You can read the source file that builds the Edje EET file by looking at:

   data/src/e_logo.edc

Another test file is also there:

   data/src/test.edc
   
The test file doesn't build anything useful at the moment.