summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-05-11 13:04:36 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-05-15 23:59:14 +0900
commit25c42176e6ee9b3850aae6544d7f1c48bef79b95 (patch)
tree9c2f304fdc357607ccbd1f97a1f60b2bc2110e22
parent08c9c70c27265c6679b367680dea02205c597c2f (diff)
downloadefl-25c42176e6ee9b3850aae6544d7f1c48bef79b95.tar.gz
evas - make func indenting more redable with overflow lines aligned
-rw-r--r--src/lib/evas/common/evas_font_ot.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/evas/common/evas_font_ot.c b/src/lib/evas/common/evas_font_ot.c
index 3c4d4db4aa..2ba9d17f45 100644
--- a/src/lib/evas/common/evas_font_ot.c
+++ b/src/lib/evas/common/evas_font_ot.c
@@ -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;
@@ -296,18 +298,16 @@ evas_common_font_ot_populate_text_props(const Eina_Unicode *text,
hb_buffer_set_language(buffer, hb_language_from_string(lang, -1));
hb_buffer_set_script(buffer, _evas_script_to_harfbuzz[props->script]);
hb_buffer_set_direction(buffer,
- (props->bidi_dir == EVAS_BIDI_DIRECTION_RTL) ?
- HB_DIRECTION_RTL : HB_DIRECTION_LTR);
+ (props->bidi_dir == EVAS_BIDI_DIRECTION_RTL) ?
+ HB_DIRECTION_RTL : HB_DIRECTION_LTR);
/* FIXME: add run-time conversions if needed, which is very unlikely */
hb_buffer_add_utf32(buffer, (const uint32_t *) text, slen, 0, slen);
_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;