Lines Matching refs:buffer
94 hb_buffer_t *buffer,
101 buffer->clear_positions ();
103 unsigned int count = buffer->len;
107 if (buffer->unicode->is_default_ignorable (buffer->info[i].codepoint)) {
108 buffer->info[i].codepoint = space;
109 buffer->pos[i].x_advance = 0;
110 buffer->pos[i].y_advance = 0;
113 font->get_glyph (buffer->info[i].codepoint, 0, &buffer->info[i].codepoint);
114 font->get_glyph_advance_for_direction (buffer->info[i].codepoint,
115 buffer->props.direction,
116 &buffer->pos[i].x_advance,
117 &buffer->pos[i].y_advance);
118 font->subtract_glyph_origin_for_direction (buffer->info[i].codepoint,
119 buffer->props.direction,
120 &buffer->pos[i].x_offset,
121 &buffer->pos[i].y_offset);
124 if (HB_DIRECTION_IS_BACKWARD (buffer->props.direction))
125 hb_buffer_reverse (buffer);