提交 01c3a885 编写于 作者: S Sascha Brawer

Fix "Since:" tags

Based on data from http://upstream-tracker.org/versions/harfbuzz.html
Resolves #103
上级 f1b44303
......@@ -36,6 +36,9 @@
#endif
/**
* Since: 0.9.7
**/
hb_bool_t
hb_segment_properties_equal (const hb_segment_properties_t *a,
const hb_segment_properties_t *b)
......@@ -48,6 +51,9 @@ hb_segment_properties_equal (const hb_segment_properties_t *a,
}
/**
* Since: 0.9.7
**/
unsigned int
hb_segment_properties_hash (const hb_segment_properties_t *p)
{
......@@ -804,7 +810,7 @@ hb_buffer_get_user_data (hb_buffer_t *buffer,
*
*
*
* Since: 1.0
* Since: 0.9.5
**/
void
hb_buffer_set_content_type (hb_buffer_t *buffer,
......@@ -821,7 +827,7 @@ hb_buffer_set_content_type (hb_buffer_t *buffer,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.5
**/
hb_buffer_content_type_t
hb_buffer_get_content_type (hb_buffer_t *buffer)
......@@ -984,7 +990,7 @@ hb_buffer_get_language (hb_buffer_t *buffer)
*
*
*
* Since: 1.0
* Since: 0.9.7
**/
void
hb_buffer_set_segment_properties (hb_buffer_t *buffer,
......@@ -1003,7 +1009,7 @@ hb_buffer_set_segment_properties (hb_buffer_t *buffer,
*
*
*
* Since: 1.0
* Since: 0.9.7
**/
void
hb_buffer_get_segment_properties (hb_buffer_t *buffer,
......@@ -1020,7 +1026,7 @@ hb_buffer_get_segment_properties (hb_buffer_t *buffer,
*
*
*
* Since: 1.0
* Since: 0.9.7
**/
void
hb_buffer_set_flags (hb_buffer_t *buffer,
......@@ -1040,7 +1046,7 @@ hb_buffer_set_flags (hb_buffer_t *buffer,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.7
**/
hb_buffer_flags_t
hb_buffer_get_flags (hb_buffer_t *buffer)
......@@ -1056,7 +1062,7 @@ hb_buffer_get_flags (hb_buffer_t *buffer)
*
*
*
* Since: 1.0
* Since: 0.9.31
**/
void
hb_buffer_set_replacement_codepoint (hb_buffer_t *buffer,
......@@ -1076,7 +1082,7 @@ hb_buffer_set_replacement_codepoint (hb_buffer_t *buffer,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.31
**/
hb_codepoint_t
hb_buffer_get_replacement_codepoint (hb_buffer_t *buffer)
......@@ -1105,7 +1111,7 @@ hb_buffer_reset (hb_buffer_t *buffer)
*
*
*
* Since: 1.0
* Since: 0.9.11
**/
void
hb_buffer_clear_contents (hb_buffer_t *buffer)
......@@ -1337,7 +1343,7 @@ hb_buffer_reverse_clusters (hb_buffer_t *buffer)
* hb_language_get_default(). This may change in the future by
* taking buffer script into consideration when choosing a language.
*
* Since: 1.0
* Since: 0.9.7
**/
void
hb_buffer_guess_segment_properties (hb_buffer_t *buffer)
......@@ -1490,7 +1496,7 @@ hb_buffer_add_utf32 (hb_buffer_t *buffer,
*
*
*
* Since: 1.0
* Since: 0.9.39
**/
void
hb_buffer_add_latin1 (hb_buffer_t *buffer,
......@@ -1512,7 +1518,7 @@ hb_buffer_add_latin1 (hb_buffer_t *buffer,
*
*
*
* Since: 1.0
* Since: 0.9.31
**/
void
hb_buffer_add_codepoints (hb_buffer_t *buffer,
......@@ -1586,7 +1592,7 @@ normalize_glyphs_cluster (hb_buffer_t *buffer,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_buffer_normalize_glyphs (hb_buffer_t *buffer)
......
......@@ -92,7 +92,7 @@ hb_tag_from_string (const char *str, int len)
*
*
*
* Since: 1.0
* Since: 0.9.5
**/
void
hb_tag_to_string (hb_tag_t tag, char *buf)
......@@ -579,7 +579,7 @@ hb_version_string (void)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.30
**/
hb_bool_t
hb_version_atleast (unsigned int major,
......
......@@ -347,7 +347,7 @@ hb_face_reference_table (hb_face_t *face,
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_blob_t *
hb_face_reference_blob (hb_face_t *face)
......@@ -362,7 +362,7 @@ hb_face_reference_blob (hb_face_t *face)
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_face_set_index (hb_face_t *face,
......@@ -382,7 +382,7 @@ hb_face_set_index (hb_face_t *face,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
unsigned int
hb_face_get_index (hb_face_t *face)
......@@ -397,7 +397,7 @@ hb_face_get_index (hb_face_t *face)
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_face_set_upem (hb_face_t *face,
......@@ -441,7 +441,7 @@ hb_face_t::load_upem (void) const
*
*
*
* Since: 1.0
* Since: 0.9.7
**/
void
hb_face_set_glyph_count (hb_face_t *face,
......@@ -461,7 +461,7 @@ hb_face_set_glyph_count (hb_face_t *face,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.7
**/
unsigned int
hb_face_get_glyph_count (hb_face_t *face)
......
......@@ -604,7 +604,7 @@ hb_font_get_glyph_contour_point (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_get_glyph_name (hb_font_t *font,
......@@ -625,7 +625,7 @@ hb_font_get_glyph_name (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_get_glyph_from_name (hb_font_t *font,
......@@ -800,7 +800,7 @@ hb_font_get_glyph_contour_point_for_origin (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_glyph_to_string (hb_font_t *font,
......@@ -822,7 +822,7 @@ hb_font_glyph_to_string (hb_font_t *font,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_font_glyph_from_string (hb_font_t *font,
......@@ -1078,7 +1078,7 @@ hb_font_get_parent (hb_font_t *font)
*
* Return value: (transfer none):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_face_t *
hb_font_get_face (hb_font_t *font)
......@@ -1096,7 +1096,7 @@ hb_font_get_face (hb_font_t *font)
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_set_funcs (hb_font_t *font,
......@@ -1131,7 +1131,7 @@ hb_font_set_funcs (hb_font_t *font,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_set_funcs_data (hb_font_t *font,
......
......@@ -292,7 +292,7 @@ hb_font_funcs_set_glyph_contour_point_func (hb_font_funcs_t *ffuncs,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_funcs_set_glyph_name_func (hb_font_funcs_t *ffuncs,
......@@ -308,7 +308,7 @@ hb_font_funcs_set_glyph_name_func (hb_font_funcs_t *ffuncs,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_font_funcs_set_glyph_from_name_func (hb_font_funcs_t *ffuncs,
......
......@@ -381,7 +381,7 @@ hb_ft_face_create (FT_Face ft_face,
*
*
* Return value: (transfer full):
* Since: 1.0
* Since: 0.9.38
**/
hb_face_t *
hb_ft_face_create_referenced (FT_Face ft_face)
......@@ -468,7 +468,7 @@ hb_ft_font_create (FT_Face ft_face,
*
*
* Return value: (transfer full):
* Since: 1.0
* Since: 0.9.38
**/
hb_font_t *
hb_ft_font_create_referenced (FT_Face ft_face)
......
......@@ -382,6 +382,9 @@ hb_glib_get_unicode_funcs (void)
return const_cast<hb_unicode_funcs_t *> (&_hb_glib_unicode_funcs);
}
/**
* Since: 0.9.38
**/
hb_blob_t *
hb_glib_blob_create (GBytes *gbytes)
{
......
......@@ -40,18 +40,33 @@ HB_BEGIN_DECLS
/* Object types */
/**
* Since: 0.9.2
**/
GType hb_gobject_blob_get_type (void);
#define HB_GOBJECT_TYPE_BLOB (hb_gobject_blob_get_type ())
/**
* Since: 0.9.2
**/
GType hb_gobject_buffer_get_type (void);
#define HB_GOBJECT_TYPE_BUFFER (hb_gobject_buffer_get_type ())
/**
* Since: 0.9.2
**/
GType hb_gobject_face_get_type (void);
#define HB_GOBJECT_TYPE_FACE (hb_gobject_face_get_type ())
/**
* Since: 0.9.2
**/
GType hb_gobject_font_get_type (void);
#define HB_GOBJECT_TYPE_FONT (hb_gobject_font_get_type ())
/**
* Since: 0.9.2
**/
GType hb_gobject_font_funcs_get_type (void);
#define HB_GOBJECT_TYPE_FONT_FUNCS (hb_gobject_font_funcs_get_type ())
......@@ -61,6 +76,9 @@ GType hb_gobject_set_get_type (void);
GType hb_gobject_shape_plan_get_type (void);
#define HB_GOBJECT_TYPE_SHAPE_PLAN (hb_gobject_shape_plan_get_type ())
/**
* Since: 0.9.2
**/
GType hb_gobject_unicode_funcs_get_type (void);
#define HB_GOBJECT_TYPE_UNICODE_FUNCS (hb_gobject_unicode_funcs_get_type ())
......
......@@ -335,6 +335,9 @@ _hb_ot_get_font_funcs (void)
}
/**
* Since: 0.9.28
**/
void
hb_ot_font_set_funcs (hb_font_t *font)
{
......
......@@ -128,6 +128,9 @@ hb_ot_layout_has_glyph_classes (hb_face_t *face)
return _get_gdef (face).has_glyph_classes ();
}
/**
* Since: 0.9.7
**/
hb_ot_layout_glyph_class_t
hb_ot_layout_get_glyph_class (hb_face_t *face,
hb_codepoint_t glyph)
......@@ -135,6 +138,9 @@ hb_ot_layout_get_glyph_class (hb_face_t *face,
return (hb_ot_layout_glyph_class_t) _get_gdef (face).get_glyph_class (glyph);
}
/**
* Since: 0.9.7
**/
void
hb_ot_layout_get_glyphs_in_class (hb_face_t *face,
hb_ot_layout_glyph_class_t klass,
......@@ -335,6 +341,9 @@ hb_ot_layout_language_get_required_feature_index (hb_face_t *face,
NULL);
}
/**
* Since: 0.9.30
**/
hb_bool_t
hb_ot_layout_language_get_required_feature (hb_face_t *face,
hb_tag_t table_tag,
......@@ -419,6 +428,9 @@ hb_ot_layout_language_find_feature (hb_face_t *face,
return false;
}
/**
* Since: 0.9.7
**/
unsigned int
hb_ot_layout_feature_get_lookups (hb_face_t *face,
hb_tag_t table_tag,
......@@ -433,6 +445,9 @@ hb_ot_layout_feature_get_lookups (hb_face_t *face,
return f.get_lookup_indexes (start_offset, lookup_count, lookup_indexes);
}
/**
* Since: 0.9.22
**/
unsigned int
hb_ot_layout_table_get_lookup_count (hb_face_t *face,
hb_tag_t table_tag)
......@@ -590,6 +605,9 @@ _hb_ot_layout_collect_lookups_languages (hb_face_t *face,
}
}
/**
* Since: 0.9.8
**/
void
hb_ot_layout_collect_lookups (hb_face_t *face,
hb_tag_t table_tag,
......@@ -631,6 +649,9 @@ hb_ot_layout_collect_lookups (hb_face_t *face,
}
}
/**
* Since: 0.9.7
**/
void
hb_ot_layout_lookup_collect_glyphs (hb_face_t *face,
hb_tag_t table_tag,
......@@ -676,6 +697,9 @@ hb_ot_layout_has_substitution (hb_face_t *face)
return &_get_gsub (face) != &OT::Null(OT::GSUB);
}
/**
* Since: 0.9.7
**/
hb_bool_t
hb_ot_layout_lookup_would_substitute (hb_face_t *face,
unsigned int lookup_index,
......@@ -714,6 +738,9 @@ hb_ot_layout_substitute_finish (hb_font_t *font, hb_buffer_t *buffer)
OT::GSUB::substitute_finish (font, buffer);
}
/**
* Since: 0.9.7
**/
void
hb_ot_layout_lookup_substitute_closure (hb_face_t *face,
unsigned int lookup_index,
......@@ -748,6 +775,9 @@ hb_ot_layout_position_finish (hb_font_t *font, hb_buffer_t *buffer)
OT::GPOS::position_finish (font, buffer);
}
/**
* Since: 0.9.8
**/
hb_bool_t
hb_ot_layout_get_size_params (hb_face_t *face,
unsigned int *design_size, /* OUT. May be NULL */
......
......@@ -736,6 +736,9 @@ _hb_ot_shape (hb_shape_plan_t *shape_plan,
}
/**
* Since: 0.9.7
**/
void
hb_ot_shape_plan_collect_lookups (hb_shape_plan_t *shape_plan,
hb_tag_t table_tag,
......@@ -766,6 +769,9 @@ add_char (hb_font_t *font,
}
/**
* Since: 0.9.2
**/
void
hb_ot_shape_glyphs_closure (hb_font_t *font,
hb_buffer_t *buffer,
......
......@@ -35,7 +35,7 @@
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_set_t *
hb_set_create (void)
......@@ -55,7 +55,7 @@ hb_set_create (void)
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_set_t *
hb_set_get_empty (void)
......@@ -76,7 +76,7 @@ hb_set_get_empty (void)
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.2
**/
hb_set_t *
hb_set_reference (hb_set_t *set)
......@@ -88,7 +88,7 @@ hb_set_reference (hb_set_t *set)
* hb_set_destroy: (skip)
* @set: a set.
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_set_destroy (hb_set_t *set)
......@@ -110,7 +110,7 @@ hb_set_destroy (hb_set_t *set)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_set_set_user_data (hb_set_t *set,
......@@ -129,7 +129,7 @@ hb_set_set_user_data (hb_set_t *set,
*
* Return value: (transfer none):
*
* Since: 1.0
* Since: 0.9.2
**/
void *
hb_set_get_user_data (hb_set_t *set,
......@@ -147,7 +147,7 @@ hb_set_get_user_data (hb_set_t *set,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_set_allocation_successful (const hb_set_t *set HB_UNUSED)
......@@ -161,7 +161,7 @@ hb_set_allocation_successful (const hb_set_t *set HB_UNUSED)
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_set_clear (hb_set_t *set)
......@@ -177,7 +177,7 @@ hb_set_clear (hb_set_t *set)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.7
**/
hb_bool_t
hb_set_is_empty (const hb_set_t *set)
......@@ -194,7 +194,7 @@ hb_set_is_empty (const hb_set_t *set)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_set_has (const hb_set_t *set,
......@@ -210,7 +210,7 @@ hb_set_has (const hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_set_add (hb_set_t *set,
......@@ -227,7 +227,7 @@ hb_set_add (hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.7
**/
void
hb_set_add_range (hb_set_t *set,
......@@ -244,7 +244,7 @@ hb_set_add_range (hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_set_del (hb_set_t *set,
......@@ -261,7 +261,7 @@ hb_set_del (hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.7
**/
void
hb_set_del_range (hb_set_t *set,
......@@ -280,7 +280,7 @@ hb_set_del_range (hb_set_t *set,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.7
**/
hb_bool_t
hb_set_is_equal (const hb_set_t *set,
......@@ -296,7 +296,7 @@ hb_set_is_equal (const hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_set_set (hb_set_t *set,
......@@ -312,7 +312,7 @@ hb_set_set (hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_set_union (hb_set_t *set,
......@@ -328,7 +328,7 @@ hb_set_union (hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_set_intersect (hb_set_t *set,
......@@ -344,7 +344,7 @@ hb_set_intersect (hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_set_subtract (hb_set_t *set,
......@@ -360,7 +360,7 @@ hb_set_subtract (hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_set_symmetric_difference (hb_set_t *set,
......@@ -375,7 +375,7 @@ hb_set_symmetric_difference (hb_set_t *set,
*
*
*
* Since: 1.0
* Since: 0.9.10
**/
void
hb_set_invert (hb_set_t *set)
......@@ -391,7 +391,7 @@ hb_set_invert (hb_set_t *set)
*
* Return value: set population.
*
* Since: 1.0
* Since: 0.9.7
**/
unsigned int
hb_set_get_population (const hb_set_t *set)
......@@ -407,7 +407,7 @@ hb_set_get_population (const hb_set_t *set)
*
* Return value: minimum of the set, or %HB_SET_VALUE_INVALID if set is empty.
*
* Since: 1.0
* Since: 0.9.7
**/
hb_codepoint_t
hb_set_get_min (const hb_set_t *set)
......@@ -423,7 +423,7 @@ hb_set_get_min (const hb_set_t *set)
*
* Return value: minimum of the set, or %HB_SET_VALUE_INVALID if set is empty.
*
* Since: 1.0
* Since: 0.9.7
**/
hb_codepoint_t
hb_set_get_max (const hb_set_t *set)
......@@ -440,7 +440,7 @@ hb_set_get_max (const hb_set_t *set)
*
* Return value: whether there was a next value.
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_set_next (const hb_set_t *set,
......@@ -460,7 +460,7 @@ hb_set_next (const hb_set_t *set,
*
* Return value: whether there was a next range.
*
* Since: 1.0
* Since: 0.9.7
**/
hb_bool_t
hb_set_next_range (const hb_set_t *set,
......
......@@ -106,7 +106,7 @@ hb_shape_plan_plan (hb_shape_plan_t *shape_plan,
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.7
**/
hb_shape_plan_t *
hb_shape_plan_create (hb_face_t *face,
......@@ -158,7 +158,7 @@ hb_shape_plan_create (hb_face_t *face,
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.7
**/
hb_shape_plan_t *
hb_shape_plan_get_empty (void)
......@@ -194,7 +194,7 @@ hb_shape_plan_get_empty (void)
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.7
**/
hb_shape_plan_t *
hb_shape_plan_reference (hb_shape_plan_t *shape_plan)
......@@ -208,7 +208,7 @@ hb_shape_plan_reference (hb_shape_plan_t *shape_plan)
*
*
*
* Since: 1.0
* Since: 0.9.7
**/
void
hb_shape_plan_destroy (hb_shape_plan_t *shape_plan)
......@@ -236,7 +236,7 @@ hb_shape_plan_destroy (hb_shape_plan_t *shape_plan)
*
* Return value:
*
* Since: 1.0
* Since: 0.9.7
**/
hb_bool_t
hb_shape_plan_set_user_data (hb_shape_plan_t *shape_plan,
......@@ -257,7 +257,7 @@ hb_shape_plan_set_user_data (hb_shape_plan_t *shape_plan,
*
* Return value: (transfer none):
*
* Since: 1.0
* Since: 0.9.7
**/
void *
hb_shape_plan_get_user_data (hb_shape_plan_t *shape_plan,
......@@ -279,7 +279,7 @@ hb_shape_plan_get_user_data (hb_shape_plan_t *shape_plan,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.7
**/
hb_bool_t
hb_shape_plan_execute (hb_shape_plan_t *shape_plan,
......@@ -395,7 +395,7 @@ hb_non_global_user_features_present (const hb_feature_t *user_features,
*
* Return value: (transfer full):
*
* Since: 1.0
* Since: 0.9.7
**/
hb_shape_plan_t *
hb_shape_plan_create_cached (hb_face_t *face,
......@@ -486,7 +486,7 @@ retry:
*
* Return value: (transfer none):
*
* Since: 1.0
* Since: 0.9.7
**/
const char *
hb_shape_plan_get_shaper (hb_shape_plan_t *shape_plan)
......
......@@ -218,7 +218,7 @@ parse_one_feature (const char **pp, const char *end, hb_feature_t *feature)
*
* Return value: %TRUE if @str is successfully parsed, %FALSE otherwise
*
* Since: 1.0
* Since: 0.9.5
**/
hb_bool_t
hb_feature_from_string (const char *str, int len,
......@@ -251,7 +251,7 @@ hb_feature_from_string (const char *str, int len,
* understood by hb_feature_from_string(). The client in responsible for
* allocating big enough size for @buf, 128 bytes is more than enough.
*
* Since: 1.0
* Since: 0.9.5
**/
void
hb_feature_to_string (hb_feature_t *feature,
......@@ -309,7 +309,7 @@ void free_static_shaper_list (void)
* Return value: (transfer none) (array zero-terminated=1): an array of
* constant strings
*
* Since: 1.0
* Since: 0.9.2
**/
const char **
hb_shape_list_shapers (void)
......@@ -362,7 +362,7 @@ retry:
*
* Return value: %FALSE if all shapers failed, %TRUE otherwise
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_shape_full (hb_font_t *font,
......
......@@ -400,7 +400,7 @@ HB_UNICODE_FUNCS_IMPLEMENT_CALLBACKS_SIMPLE
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_unicode_compose (hb_unicode_funcs_t *ufuncs,
......@@ -422,7 +422,7 @@ hb_unicode_compose (hb_unicode_funcs_t *ufuncs,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
hb_bool_t
hb_unicode_decompose (hb_unicode_funcs_t *ufuncs,
......@@ -443,7 +443,7 @@ hb_unicode_decompose (hb_unicode_funcs_t *ufuncs,
*
* Return value:
*
* Since: 1.0
* Since: 0.9.2
**/
unsigned int
hb_unicode_decompose_compatibility (hb_unicode_funcs_t *ufuncs,
......
......@@ -363,7 +363,7 @@ hb_unicode_funcs_set_script_func (hb_unicode_funcs_t *ufuncs,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_unicode_funcs_set_compose_func (hb_unicode_funcs_t *ufuncs,
......@@ -379,7 +379,7 @@ hb_unicode_funcs_set_compose_func (hb_unicode_funcs_t *ufuncs,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_unicode_funcs_set_decompose_func (hb_unicode_funcs_t *ufuncs,
......@@ -395,7 +395,7 @@ hb_unicode_funcs_set_decompose_func (hb_unicode_funcs_t *ufuncs,
*
*
*
* Since: 1.0
* Since: 0.9.2
**/
void
hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs,
......@@ -404,37 +404,62 @@ hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs,
/* accessors */
/**
* Since: 0.9.2
**/
hb_unicode_combining_class_t
hb_unicode_combining_class (hb_unicode_funcs_t *ufuncs,
hb_codepoint_t unicode);
/**
* Since: 0.9.2
**/
unsigned int
hb_unicode_eastasian_width (hb_unicode_funcs_t *ufuncs,
hb_codepoint_t unicode);
/**
* Since: 0.9.2
**/
hb_unicode_general_category_t
hb_unicode_general_category (hb_unicode_funcs_t *ufuncs,
hb_codepoint_t unicode);
/**
* Since: 0.9.2
**/
hb_codepoint_t
hb_unicode_mirroring (hb_unicode_funcs_t *ufuncs,
hb_codepoint_t unicode);
/**
* Since: 0.9.2
**/
hb_script_t
hb_unicode_script (hb_unicode_funcs_t *ufuncs,
hb_codepoint_t unicode);
/**
* Since: 0.9.2
**/
hb_bool_t
hb_unicode_compose (hb_unicode_funcs_t *ufuncs,
hb_codepoint_t a,
hb_codepoint_t b,
hb_codepoint_t *ab);
/**
* Since: 0.9.2
**/
hb_bool_t
hb_unicode_decompose (hb_unicode_funcs_t *ufuncs,
hb_codepoint_t ab,
hb_codepoint_t *a,
hb_codepoint_t *b);
/**
* Since: 0.9.2
**/
unsigned int
hb_unicode_decompose_compatibility (hb_unicode_funcs_t *ufuncs,
hb_codepoint_t u,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册