Searched refs:hyphenPenalty (Results 1 – 1 of 1) sorted by relevance
134 float hyphenPenalty = 0.5 * paint->size * paint->scaleX * lineWidth.getAt(0); in computePenalties() local136 hyphenPenalty *= 4.0; // TODO: Replace with a better value after some testing in computePenalties()142 hyphenPenalty *= 0.25; in computePenalties()145 linePenalty = hyphenPenalty * LINE_PENALTY_MULTIPLIER; in computePenalties()148 return std::make_pair(hyphenPenalty, linePenalty); in computePenalties()188 float hyphenPenalty, bool isRtl, OptimizeContext* out) { in appendWithMerging() argument199 proc.sumOfCharWidthsAtPrevWordBreak + hyIter->first, hyphenPenalty, in appendWithMerging()223 float hyphenPenalty = 0.0f; in populateCandidates() local226 hyphenPenalty = penalties.first; in populateCandidates()255 proc, hyphenPenalty, isRtl, &result); in populateCandidates()[all …]