equal
deleted
inserted
replaced
208 |
208 |
209 hb_glyph_position_t &pos = buffer->pos[i]; |
209 hb_glyph_position_t &pos = buffer->pos[i]; |
210 pos.x_offset = pos.y_offset = 0; |
210 pos.x_offset = pos.y_offset = 0; |
211 |
211 |
212 |
212 |
213 /* We dont position LEFT and RIGHT marks. */ |
213 /* We don't position LEFT and RIGHT marks. */ |
214 |
214 |
215 /* X positioning */ |
215 /* X positioning */ |
216 switch (combining_class) |
216 switch (combining_class) |
217 { |
217 { |
218 case HB_UNICODE_COMBINING_CLASS_DOUBLE_BELOW: |
218 case HB_UNICODE_COMBINING_CLASS_DOUBLE_BELOW: |
305 hb_buffer_t *buffer, |
305 hb_buffer_t *buffer, |
306 unsigned int base, |
306 unsigned int base, |
307 unsigned int end) |
307 unsigned int end) |
308 { |
308 { |
309 hb_direction_t horiz_dir = HB_DIRECTION_INVALID; |
309 hb_direction_t horiz_dir = HB_DIRECTION_INVALID; |
|
310 |
|
311 buffer->unsafe_to_break (base, end); |
|
312 |
310 hb_glyph_extents_t base_extents; |
313 hb_glyph_extents_t base_extents; |
311 if (!font->get_glyph_extents (buffer->info[base].codepoint, |
314 if (!font->get_glyph_extents (buffer->info[base].codepoint, |
312 &base_extents)) |
315 &base_extents)) |
313 { |
316 { |
314 /* If extents don't work, zero marks and go home. */ |
317 /* If extents don't work, zero marks and go home. */ |