commit | 6c4d167bff33c24c239d77ddb1044b18d180766a | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Thu Jul 09 15:58:16 2015 -0700 |
committer | Raph Levien <raph@google.com> | Thu Jul 09 17:38:58 2015 -0700 |
tree | 0a38faf831cddea734b8a1f1a7b849157912aa80 | |
parent | 3e0fc64da064b8c4156daf53242b8eeb47830f64 [diff] |
Add HyphenEdit to layout cache We bypass the word layout cache for "complex" cases, which includes things like OpenType features. We were counting a hyphen edit as such a case, but the problem is that we measure a _lot_ of these when doing layout with hyphenation. This patch adds plumbing for hyphen edits to the layout cache, so that word fragments with hyphens can be cached as well. Bug: 22378829 Change-Id: Idba4df4faa14f48a5faccc8a7a7955a36c19ef27