Evas textblock: Fixed an issue when there are no available fonts.
authorTom Hacohen <tom@stosb.com>
Mon, 5 Sep 2011 09:04:43 +0000 (09:04 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 5 Sep 2011 09:04:43 +0000 (09:04 +0000)
commit8f07a73106a8bcca43407357ff7a20425a922ded
treeac754a8bddb74626ac85b8dab5af00d59eb37ade
parent325dbc04aec414753165f9fd776b72b3da5ef1d0
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.

SVN revision: 63188
legacy/evas/src/lib/canvas/evas_object_textblock.c