From eb10ef46aa1c62d6871f4780831e7ea326af10cf Mon Sep 17 00:00:00 2001 From: Nathan Willis Date: Mon, 22 Apr 2019 19:22:24 +0100 Subject: [PATCH] [Docs] Add GTK-Doc comments for hb-ot-font and hb-ot-shape. --- src/hb-ot-font.cc | 3 +++ src/hb-ot-shape.cc | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc index a1dc88603..fae7b5b65 100644 --- a/src/hb-ot-font.cc +++ b/src/hb-ot-font.cc @@ -306,6 +306,9 @@ _hb_ot_get_font_funcs () /** * hb_ot_font_set_funcs: + * @font: #hb_font_t to work upon + * + * Sets the font functions to use when working with @font. * * Since: 0.9.28 **/ diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index fe0444987..010a6f2c8 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -1155,6 +1155,12 @@ _hb_ot_shape (hb_shape_plan_t *shape_plan, /** * hb_ot_shape_plan_collect_lookups: + * @shape_plan: #hb_shape_plan_t to query + * @table_tag: GSUB or GPOS + * @lookup_indexes: (out): The #hb_set_t set of lookups returned + * + * Computes the complete set of GSUB or GPOS lookups that are applicable + * under a given @shape_plan. * * Since: 0.9.7 **/ @@ -1189,6 +1195,15 @@ add_char (hb_font_t *font, /** * hb_ot_shape_glyphs_closure: + * @font: #hb_font_t to work upon + * @buffer: The input buffer to compute from + * @features: (array length=num_features): The features enabled on the buffer + * @num_features: The number of features enabled on the buffer + * @glyphs: (out): The #hb_set_t set of glyphs comprising the transitive closure of the query + * + * Computes the transitive closure of glyphs needed for a specified + * input buffer under the given font and feature list. The closure is + * computed as a set, not as a list. * * Since: 0.9.2 **/