src/java.desktop/share/native/libfontmanager/harfbuzz/hb-ot-shape-fallback.cc
changeset 48274 51772bf1fb0c
parent 47216 71c04702a3d5
child 50352 25db2c8f3cf8
equal deleted inserted replaced
48273:e2065f7505eb 48274:51772bf1fb0c
   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. */