evas - make func indenting more redable with overflow lines aligned

This commit is contained in:
Carsten Haitzler 2016-05-11 13:04:36 +09:00
parent 08c9c70c27
commit 25c42176e6
1 changed files with 7 additions and 7 deletions

View File

@ -268,7 +268,9 @@ _evas_common_font_ot_shape(hb_buffer_t *buffer, RGBA_Font_Int *fi, Evas_Text_Pro
EAPI Eina_Bool
evas_common_font_ot_populate_text_props(const Eina_Unicode *text,
Evas_Text_Props *props, int len, Evas_Text_Props_Mode mode, const char *lang)
Evas_Text_Props *props, int len,
Evas_Text_Props_Mode mode,
const char *lang)
{
RGBA_Font_Int *fi;
hb_buffer_t *buffer;
@ -304,10 +306,8 @@ evas_common_font_ot_populate_text_props(const Eina_Unicode *text,
_evas_common_font_ot_shape(buffer, fi, mode);
props->len = hb_buffer_get_length(buffer);
props->info->ot = calloc(props->len,
sizeof(Evas_Font_OT_Info));
props->info->glyph = calloc(props->len,
sizeof(Evas_Font_Glyph_Info));
props->info->ot = calloc(props->len, sizeof(Evas_Font_OT_Info));
props->info->glyph = calloc(props->len, sizeof(Evas_Font_Glyph_Info));
positions = hb_buffer_get_glyph_positions(buffer, NULL);
infos = hb_buffer_get_glyph_infos(buffer, NULL);
gl_itr = props->info->glyph;