commit | 2ea5290ffb9efe0a7c187fb1177ef8ecd089803c | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Wed Jul 01 14:39:31 2015 -0700 |
committer | Raph Levien <raph@google.com> | Wed Jul 01 15:53:23 2015 -0700 |
tree | 867c693c303249bac0d7805622d497bbe5386b49 | |
parent | f22e2e3998db9bcfdac5d1c524b0c02e7da7f86d [diff] |
Fix problems with StaticLayout indentation The implementation of indendataion had two issues. First, the indent pattern would restart on a new paragraph, which created problems when a multi-paragraph text would flow into a shape. Second, the indents didn't affect drawing position, which is ok for centered text but not most of the other alignments. This patch fixes both. Bug: 21904268 Change-Id: I53a3eb1c192fc0f8f0beace304832eed61b38497