Evas font: Improve RLE rounding alpha8 to alpha44
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 9 Dec 2014 02:00:38 +0000 (11:00 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 9 Dec 2014 02:02:01 +0000 (11:02 +0900)
commit624787c42a4edb1f900051cc2124f9f055d01ce2
treeccd87a93b2fa48a5416db12eb0beef978e916372
parent9dbd2db21bc813a86a95baad91f3605e99ebfeaa
Evas font: Improve RLE rounding alpha8 to alpha44

This should ensure that the difference between the original
pixel value and the rle4 encoded one is <= 8.

The previous fix was a bit stupid as it was not taking into
account the conversion a4 to a8 (which is a8 = (a4 << 4) | a4).
src/lib/evas/common/evas_font_compress.c