Searched refs:width_rec (Results 1 – 1 of 1) sorted by relevance
284 WIDTH_RECORD *width_rec = state_char_widths(chunks_record->chunk_widths, in width_priority() local304 FLOAT32 width_var = get_width_variance(width_rec, normalizing_height); in width_priority()305 FLOAT32 gap_var = get_gap_variance(width_rec, normalizing_height); in width_priority()310 for (int x = 0; x < width_rec->num_chars; x++) { in width_priority()311 FLOAT32 squat = width_rec->widths[2*x]; in width_priority()312 FLOAT32 gap = (x < width_rec->num_chars-1) ? width_rec->widths[2*x+1] : 0; in width_priority()316 penalty += fp_width_cost(squat, x == 0 || x == width_rec->num_chars -1); in width_priority()317 penalty += fp_gap_cost(gap, x == width_rec->num_chars - 1); in width_priority()318 if (width_rec->num_chars == 1 && squat > MAX_SQUAT) in width_priority()327 free_widths(width_rec); in width_priority()