提交 5d74ff02 编写于 作者: B Behdad Esfahbod

Fix Since: version tags on font and face APIs

A while back we marked every API as version:1.0.  We should fix them all
to reflect real version they were introduced.  This is a start.

Patch from Nikolay Sivov.
上级 7f540539
......@@ -77,7 +77,7 @@ const hb_face_t _hb_face_nil = {
*
* Return value: (transfer full)
*
* Since: 1.0
* Since: 0.9.2
**/
hb_face_t *
hb_face_create_for_tables (hb_reference_table_func_t reference_table_func,
......@@ -157,7 +157,7 @@ _hb_face_for_data_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_face_t *
hb_face_create (hb_blob_t *blob,
......@@ -189,7 +189,7 @@ hb_face_create (hb_blob_t *blob,
*
* Return value: (transfer full)
*
* Since: 1.0
* Since: 0.9.2
**/
hb_face_t *
hb_face_get_empty (void)
......@@ -206,7 +206,7 @@ hb_face_get_empty (void)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_face_t *
hb_face_reference (hb_face_t *face)
......@@ -220,7 +220,7 @@ hb_face_reference (hb_face_t *face)
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_face_destroy (hb_face_t *face)
......@@ -257,7 +257,7 @@ hb_face_destroy (hb_face_t *face)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_face_set_user_data (hb_face_t *face,
......@@ -278,7 +278,7 @@ hb_face_set_user_data (hb_face_t *face,
*
* Return value: (transfer none):
*
* Since: 1.0
* Since: 0.9.2
**/
void *
hb_face_get_user_data (hb_face_t *face,
......@@ -293,7 +293,7 @@ hb_face_get_user_data (hb_face_t *face,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_face_make_immutable (hb_face_t *face)
......@@ -312,7 +312,7 @@ hb_face_make_immutable (hb_face_t *face)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_face_is_immutable (hb_face_t *face)
......@@ -330,7 +330,7 @@ hb_face_is_immutable (hb_face_t *face)
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_blob_t *
hb_face_reference_table (hb_face_t *face,
......@@ -417,7 +417,7 @@ hb_face_set_upem (hb_face_t *face,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
unsigned int
hb_face_get_upem (hb_face_t *face)
......
......@@ -236,7 +236,7 @@ static const hb_font_funcs_t _hb_font_funcs_nil = {
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_font_funcs_t *
hb_font_funcs_create (void)
......@@ -258,7 +258,7 @@ hb_font_funcs_create (void)
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_font_funcs_t *
hb_font_funcs_get_empty (void)
......@@ -274,7 +274,7 @@ hb_font_funcs_get_empty (void)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_font_funcs_t *
hb_font_funcs_reference (hb_font_funcs_t *ffuncs)
......@@ -288,7 +288,7 @@ hb_font_funcs_reference (hb_font_funcs_t *ffuncs)
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_funcs_destroy (hb_font_funcs_t *ffuncs)
......@@ -315,7 +315,7 @@ hb_font_funcs_destroy (hb_font_funcs_t *ffuncs)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs,
......@@ -336,7 +336,7 @@ hb_font_funcs_set_user_data (hb_font_funcs_t *ffuncs,
*
* Return value: (transfer none):
*
* Since: 1.0
* Since: 0.9.2
**/
void *
hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs,
......@@ -352,7 +352,7 @@ hb_font_funcs_get_user_data (hb_font_funcs_t *ffuncs,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs)
......@@ -371,7 +371,7 @@ hb_font_funcs_make_immutable (hb_font_funcs_t *ffuncs)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_funcs_is_immutable (hb_font_funcs_t *ffuncs)
......@@ -425,7 +425,7 @@ HB_FONT_FUNCS_IMPLEMENT_CALLBACKS
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_get_glyph (hb_font_t *font,
......@@ -444,7 +444,7 @@ hb_font_get_glyph (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_position_t
hb_font_get_glyph_h_advance (hb_font_t *font,
......@@ -462,7 +462,7 @@ hb_font_get_glyph_h_advance (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_position_t
hb_font_get_glyph_v_advance (hb_font_t *font,
......@@ -482,7 +482,7 @@ hb_font_get_glyph_v_advance (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_get_glyph_h_origin (hb_font_t *font,
......@@ -503,7 +503,7 @@ hb_font_get_glyph_h_origin (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_get_glyph_v_origin (hb_font_t *font,
......@@ -523,7 +523,7 @@ hb_font_get_glyph_v_origin (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_position_t
hb_font_get_glyph_h_kerning (hb_font_t *font,
......@@ -542,7 +542,7 @@ hb_font_get_glyph_h_kerning (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_position_t
hb_font_get_glyph_v_kerning (hb_font_t *font,
......@@ -561,7 +561,7 @@ hb_font_get_glyph_v_kerning (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_get_glyph_extents (hb_font_t *font,
......@@ -583,7 +583,7 @@ hb_font_get_glyph_extents (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_get_glyph_contour_point (hb_font_t *font,
......@@ -648,7 +648,7 @@ hb_font_get_glyph_from_name (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_get_glyph_advance_for_direction (hb_font_t *font,
......@@ -669,7 +669,7 @@ hb_font_get_glyph_advance_for_direction (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_get_glyph_origin_for_direction (hb_font_t *font,
......@@ -690,7 +690,7 @@ hb_font_get_glyph_origin_for_direction (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_add_glyph_origin_for_direction (hb_font_t *font,
......@@ -711,7 +711,7 @@ hb_font_add_glyph_origin_for_direction (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_subtract_glyph_origin_for_direction (hb_font_t *font,
......@@ -733,7 +733,7 @@ hb_font_subtract_glyph_origin_for_direction (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_get_glyph_kerning_for_direction (hb_font_t *font,
......@@ -755,7 +755,7 @@ hb_font_get_glyph_kerning_for_direction (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_get_glyph_extents_for_origin (hb_font_t *font,
......@@ -779,7 +779,7 @@ hb_font_get_glyph_extents_for_origin (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_get_glyph_contour_point_for_origin (hb_font_t *font,
......@@ -845,7 +845,7 @@ hb_font_glyph_from_string (hb_font_t *font,
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_font_t *
hb_font_create (hb_face_t *face)
......@@ -872,7 +872,7 @@ hb_font_create (hb_face_t *face)
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_font_t *
hb_font_create_sub_font (hb_font_t *parent)
......@@ -903,7 +903,7 @@ hb_font_create_sub_font (hb_font_t *parent)
*
* Return value: (transfer full)
*
* Since: 1.0
* Since: 0.9.2
**/
hb_font_t *
hb_font_get_empty (void)
......@@ -944,7 +944,7 @@ hb_font_get_empty (void)
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_font_t *
hb_font_reference (hb_font_t *font)
......@@ -958,7 +958,7 @@ hb_font_reference (hb_font_t *font)
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_destroy (hb_font_t *font)
......@@ -991,7 +991,7 @@ hb_font_destroy (hb_font_t *font)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_set_user_data (hb_font_t *font,
......@@ -1012,7 +1012,7 @@ hb_font_set_user_data (hb_font_t *font,
*
* Return value: (transfer none):
*
* Since: 1.0
* Since: 0.9.2
**/
void *
hb_font_get_user_data (hb_font_t *font,
......@@ -1027,7 +1027,7 @@ hb_font_get_user_data (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_make_immutable (hb_font_t *font)
......@@ -1046,7 +1046,7 @@ hb_font_make_immutable (hb_font_t *font)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_is_immutable (hb_font_t *font)
......@@ -1062,7 +1062,7 @@ hb_font_is_immutable (hb_font_t *font)
*
* Return value: (transfer none):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_font_t *
hb_font_get_parent (hb_font_t *font)
......@@ -1161,7 +1161,7 @@ hb_font_set_funcs_data (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_set_scale (hb_font_t *font,
......@@ -1183,7 +1183,7 @@ hb_font_set_scale (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_get_scale (hb_font_t *font,
......@@ -1202,7 +1202,7 @@ hb_font_get_scale (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_set_ppem (hb_font_t *font,
......@@ -1224,7 +1224,7 @@ hb_font_set_ppem (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_get_ppem (hb_font_t *font,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册