diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-12-24 00:56:59 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-12-24 00:56:59 +0100 |
commit | f0fbff4c905fd3e21d7aefedd45d98cc9dd54018 (patch) | |
tree | c61f47f858a9ac6183676bd7aee378a6a2b84a19 /src/3rdparty/harfbuzz-ng/src/hb-shape.cc | |
parent | d776937df91e46536f404c6868d64016b6038d7b (diff) | |
parent | 0e1ce36ae67de940b2d499ec7f23e520dce0f112 (diff) |
Merge remote-tracking branch 'origin/stable' into dev
Change-Id: I2defae1904154283446b069d151c3ef57302ec7b
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/hb-shape.cc')
-rw-r--r-- | src/3rdparty/harfbuzz-ng/src/hb-shape.cc | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/3rdparty/harfbuzz-ng/src/hb-shape.cc b/src/3rdparty/harfbuzz-ng/src/hb-shape.cc index 80d8c1306b..c1b752405e 100644 --- a/src/3rdparty/harfbuzz-ng/src/hb-shape.cc +++ b/src/3rdparty/harfbuzz-ng/src/hb-shape.cc @@ -153,6 +153,18 @@ parse_one_feature (const char **pp, const char *end, hb_feature_t *feature) *pp == end; } +/** + * hb_feature_from_string: + * @str: (array length=len): + * @len: + * @feature: (out): + * + * + * + * Return value: + * + * Since: 1.0 + **/ hb_bool_t hb_feature_from_string (const char *str, int len, hb_feature_t *feature) @@ -163,6 +175,16 @@ hb_feature_from_string (const char *str, int len, return parse_one_feature (&str, str + len, feature); } +/** + * hb_feature_to_string: + * @feature: + * @buf: (array length=size): + * @size: + * + * + * + * Since: 1.0 + **/ void hb_feature_to_string (hb_feature_t *feature, char *buf, unsigned int size) @@ -209,6 +231,15 @@ void free_static_shaper_list (void) free (static_shaper_list); } +/** + * hb_shape_list_shapers: + * + * + * + * Return value: (transfer none): + * + * Since: 1.0 + **/ const char ** hb_shape_list_shapers (void) { @@ -244,6 +275,20 @@ retry: } +/** + * hb_shape_full: + * @font: a font. + * @buffer: a buffer. + * @features: (array length=num_features): + * @num_features: + * @shaper_list: (array zero-terminated=1): + * + * + * + * Return value: + * + * Since: 1.0 + **/ hb_bool_t hb_shape_full (hb_font_t *font, hb_buffer_t *buffer, @@ -265,6 +310,17 @@ hb_shape_full (hb_font_t *font, return res; } +/** + * hb_shape: + * @font: a font. + * @buffer: a buffer. + * @features: (array length=num_features): + * @num_features: + * + * + * + * Since: 1.0 + **/ void hb_shape (hb_font_t *font, hb_buffer_t *buffer, |