forked from enlightenment/efl
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
This commit is contained in:
parent
1aa1bbc131
commit
8ccea8233c
|
@ -318,7 +318,7 @@ evas_common_font_ot_populate_text_props(const Eina_Unicode *text,
|
|||
Evas_Coord adv;
|
||||
ot_itr->source_cluster = infos->cluster;
|
||||
ot_itr->x_offset = positions->x_offset;
|
||||
ot_itr->y_offset = positions->y_offset;
|
||||
ot_itr->y_offset = 0; // FIXME positions->y_offset; FIXME//
|
||||
gl_itr->index = infos->codepoint;
|
||||
adv = positions->x_advance;
|
||||
|
||||
|
|
Loading…
Reference in New Issue