evas: round glyph's advance before adding it to pen_x 85/126885/1
authorYoungbok Shin <youngb.shin@samsung.com>
Sun, 23 Apr 2017 06:22:42 +0000 (09:22 +0300)
committerYoungbok Shin <youngb.shin@samsung.com>
Tue, 25 Apr 2017 08:06:27 +0000 (17:06 +0900)
commit9f041cde5df8d47508603bf2e4e7a765716edf70
tree09ae42331830eea5cf01502b83cbe197d3e25e34
parent4adde89bc6dc72843859ed7677262ad744ba9a44
evas: round glyph's advance before adding it to pen_x

Summary:
Rounding the sum of glyph's advance could cause inconsistency of
each glyph's positions. When Evas enables Harfbuzz library,
Each glyph's position has to be handled by only nearby glyphs.
But, currently, totally unrelated glyph's advacne could change
other glyphs positions.

ex) 1. "connect."
    2. "Tap here to connect."

You can see different gap between "c" and "o" of word "connect".
It should be same even if there was a different text before the word "connect".
@fix

Test Plan: N/A

Reviewers: raster, herdsman, jpeg

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4782

Change-Id: I6124eeb7cbe48f355dd5628a84e87a03b4a2b261
src/lib/evas/common/evas_font_ot.c