< prev index next >

src/java.desktop/share/native/libfontmanager/harfbuzz/hb-shape.cc

Print this page

        

*** 371,381 **** hb_buffer_t *buffer, const hb_feature_t *features, unsigned int num_features, const char * const *shaper_list) { ! 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); hb_shape_plan_destroy (shape_plan); if (res) buffer->content_type = HB_BUFFER_CONTENT_TYPE_GLYPHS; --- 371,384 ---- hb_buffer_t *buffer, const hb_feature_t *features, unsigned int num_features, const char * const *shaper_list) { ! hb_shape_plan_t *shape_plan = hb_shape_plan_create_cached2 (font->face, &buffer->props, ! features, num_features, ! font->coords, font->num_coords, ! shaper_list); hb_bool_t res = hb_shape_plan_execute (shape_plan, font, buffer, features, num_features); hb_shape_plan_destroy (shape_plan); if (res) buffer->content_type = HB_BUFFER_CONTENT_TYPE_GLYPHS;
< prev index next >