0ec8ec27b8
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> |
||
---|---|---|
.. | ||
include | ||
src | ||
BUILD.gn | ||
skshaper.gni |