Separate additional penalty for last line with hyphen

A recent change added a penalty for a hyphen at the last line break,
which is visually undesirable. However, the penalty was assessed to
"widthScore", which broke the assumption (used for another
optimization) that widthScore increases monotonically. This patch
separates the penalty into a different parameter, restoring the
validity of the monotonicity assumption.

Bug: 22066119
Change-Id: I6a47a350ef3ceee2f00ee430d6954d0c307227f0
1 file changed
tree: 15410762859d520ce274cf29e01abf232415ead6
  1. include/
  2. libs/
  3. sample/