85 float cert,
int width) {
86 return static_cast<float>(width) * cert / rating_cert_scale;
101 static void ComputeStats(
int col,
int row,
103 int parent_path_length,
105 float max_char_wh_ratio,
111 static float FixedPitchWidthCost(
float norm_width,
float right_gap,
112 bool end_pos,
float max_char_wh_ratio);
117 return (norm_gap < 0.05 && !end_pos) ? 5.0f : 0.0f;
static float ComputeOutlineLength(float rating_cert_scale, const BLOB_CHOICE &b)
static const float kMinGap
bool bad_fixed_pitch_wh_ratio
float full_wh_ratio_total
static const float kMaxFixedPitchCharAspectRatio
static float FixedPitchGapCost(float norm_gap, bool end_pos)
static float ComputeRating(float rating_cert_scale, float cert, int width)
bool bad_fixed_pitch_right_gap