Searched refs:num_lig_components (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-shape-fallback.cc318 unsigned int num_lig_components = _hb_glyph_info_get_lig_num_comps (&buffer->info[base]); local
333 if (num_lig_components > 1) {
337 if (!lig_id || lig_id != this_lig_id || this_lig_component >= num_lig_components)
338 this_lig_component = num_lig_components - 1;
351 component_extents.x_bearing += (this_lig_component * component_extents.width) / num_lig_components;
353 component_extents.x_bearing += ((num_lig_components - 1 - this_lig_component) * component_extents.width) / num_lig_components;
354 component_extents.width /= num_lig_components;
/external/harfbuzz_ng/src/
H A Dhb-ot-shape-fallback.cc304 unsigned int num_lig_components = get_lig_num_comps (buffer->info[base]); local
319 if (num_lig_components > 1) {
323 if (!lig_id || lig_id != this_lig_id || this_lig_component >= num_lig_components)
324 this_lig_component = num_lig_components - 1;
337 component_extents.x_bearing += (this_lig_component * component_extents.width) / num_lig_components;
339 component_extents.x_bearing += ((num_lig_components - 1 - this_lig_component) * component_extents.width) / num_lig_components;
340 component_extents.width /= num_lig_components;

Completed in 782 milliseconds