Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties()

This commit is contained in:
Behdad Esfahbod 2012-11-15 18:45:31 -08:00
parent f30641038b
commit 3f82f8ff07
6 changed files with 8 additions and 8 deletions

View File

@ -114,7 +114,7 @@ struct hb_buffer_t {
HB_INTERNAL void reverse_range (unsigned int start, unsigned int end);
HB_INTERNAL void reverse (void);
HB_INTERNAL void reverse_clusters (void);
HB_INTERNAL void guess_properties (void);
HB_INTERNAL void guess_segment_properties (void);
HB_INTERNAL void swap_buffers (void);
HB_INTERNAL void remove_output (void);

View File

@ -491,7 +491,7 @@ hb_buffer_t::merge_out_clusters (unsigned int start,
}
void
hb_buffer_t::guess_properties (void)
hb_buffer_t::guess_segment_properties (void)
{
if (unlikely (!len)) return;
assert (content_type == HB_BUFFER_CONTENT_TYPE_UNICODE);
@ -886,9 +886,9 @@ hb_buffer_reverse_clusters (hb_buffer_t *buffer)
}
void
hb_buffer_guess_properties (hb_buffer_t *buffer)
hb_buffer_guess_segment_properties (hb_buffer_t *buffer)
{
buffer->guess_properties ();
buffer->guess_segment_properties ();
}
template <typename T>

View File

@ -168,7 +168,7 @@ hb_buffer_get_segment_properties (hb_buffer_t *buffer,
hb_segment_properties_t *props);
void
hb_buffer_guess_properties (hb_buffer_t *buffer);
hb_buffer_guess_segment_properties (hb_buffer_t *buffer);
typedef enum {

View File

@ -98,7 +98,7 @@ _hb_fallback_shape (hb_shape_plan_t *shape_plan,
hb_codepoint_t space;
font->get_glyph (' ', 0, &space);
buffer->guess_properties ();
buffer->guess_segment_properties ();
buffer->clear_positions ();
unsigned int count = buffer->len;

View File

@ -610,7 +610,7 @@ hb_ot_shape_glyphs_closure (hb_font_t *font,
{
hb_ot_shape_plan_t plan;
buffer->guess_properties ();
buffer->guess_segment_properties ();
const char *shapers[] = {"ot", NULL};
hb_shape_plan_t *shape_plan = hb_shape_plan_create_cached (font->face, &buffer->props,

View File

@ -255,7 +255,7 @@ hb_shape_full (hb_font_t *font,
assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE);
buffer->guess_properties ();
buffer->guess_segment_properties ();
hb_shape_plan_t *shape_plan = hb_shape_plan_create_cached (font->face, &buffer->props, features, num_features, shaper_list);
hb_bool_t res = hb_shape_plan_execute (shape_plan, font, buffer, features, num_features);