Evas textblock: Fixed an issue when there are no available fonts.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Sep 2011 09:04:43 +0000 (09:04 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 5 Sep 2011 09:04:43 +0000 (09:04 +0000)
commitda2c3e2f7329615a9116b85239e5451c0bb3e5b7
tree4395f9c37dff7205b97df53e1a60c3979ae2fead
parent0272a6c8c1f01ead225bcfd410491bb54bf05304
Evas textblock: Fixed an issue when there are no available fonts.

The problem was that our rbtree implementation doesn't support chaining
duplicates and with no fonts, all the paragraphs had the same y coord (0).
Changing the paragraph index to work on line_no for sorting fixes it,
as line numbers are also correct when there are no fonts.

Thanks a lot to KaKaRoTo for letting me know about this issue.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@63188 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/canvas/evas_object_textblock.c