summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-11-25 15:42:29 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-11-25 16:44:04 +0900
commit8ccea8233c144f723470da09a01487484c269440 (patch)
treead9e878446cd85ff8f9593311e4b8607d80be9b1 /src/lib/evas/common
parent1aa1bbc131e1bdd0b20acb1db43134d38858c604 (diff)
Evas: Temporarily hack OT_SUPPORT to fix textgrid
See T2865. Since Harfbuzz 1.1.0, terminology displays fonts funnily aligned to the top. This is apparently because until 1.0.6 the y_offset was always 0 for all glyphs, but since 1.1.1 the offset is actually set. This is a TEMPORARY fix. There might be an underlying issue left here. Harfbuzz changed behaviour in this commit: commit 44f82750807475aa5b16099ccccd917d488df703 Author: Behdad Esfahbod <behdad@behdad.org> Date: Wed Nov 4 20:40:05 2015 -0800 [ft] Remove font funcs that do nothing
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_font_ot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/evas_font_ot.c b/src/lib/evas/common/evas_font_ot.c
index a5fe5b2..f24009e 100644
--- a/src/lib/evas/common/evas_font_ot.c
+++ b/src/lib/evas/common/evas_font_ot.c
@@ -318,7 +318,7 @@ evas_common_font_ot_populate_text_props(const Eina_Unicode *text,
318 Evas_Coord adv; 318 Evas_Coord adv;
319 ot_itr->source_cluster = infos->cluster; 319 ot_itr->source_cluster = infos->cluster;
320 ot_itr->x_offset = positions->x_offset; 320 ot_itr->x_offset = positions->x_offset;
321 ot_itr->y_offset = positions->y_offset; 321 ot_itr->y_offset = 0; // FIXME positions->y_offset; FIXME//
322 gl_itr->index = infos->codepoint; 322 gl_itr->index = infos->codepoint;
323 adv = positions->x_advance; 323 adv = positions->x_advance;
324 324