• R
    Increase hyphenation penalty for short last line · abae97a3
    Raph Levien 提交于
    Tuning for hyphenation parameters. We discourage hyphenation on the
    last line, but offset this penalty by also applying a penalty for
    each line, which optimizes for minimizing the number of lines. Thus,
    when hyphenation can reduce the number of lines, it increases the
    chance they're used.
    
    There's probably more tuning and refinement that can be done, but
    testing suggests that the tunable parameters are appropriate.
    
    Bug: 20883322
    
    Change-Id: Ida7eaf8aced109e426694f5a386924a842d29c4b
    abae97a3
LineBreaker.cpp 15.4 KB