skia2/modules/skshaper
Ben Wagner 0ec8ec27b8 Add a 'correct' shaper.
There are currently two consistent ways to do line breaking. The 'ok'
way where the entire line is shaped and the resulting glyphs broken
into lines based on hopeful cluster breaks. This has the one nice
property of preserving all shaping done by the font. The 'correct' way
is to shape to each break opportunity and pick the best one, then
continue to do so for each line. This has the nice property of not
shaping incorrectly.

Fortunately, the actual implementation can be hidden behind a common
interface. Keep both of them to ensure this continues to be the case.

Change-Id: I68086731c9c2eea00b26f1447e3ec17aba799ab3
Reviewed-on: https://skia-review.googlesource.com/c/156641
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
2019-02-05 20:11:24 +00:00
..
include Adjust variable names from paint to font 2019-01-28 20:57:56 +00:00
src Add a 'correct' shaper. 2019-02-05 20:11:24 +00:00
BUILD.gn GN/ICU cleanup 2019-02-05 17:27:55 +00:00
skshaper.gni [skshaper] Build tweaks 2019-01-18 20:25:40 +00:00