Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties()
This commit is contained in:
parent
f30641038b
commit
3f82f8ff07
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue