commit | fccc122027c2bc5c590e26dd1d93dac7754dcb4c | [log] [tgz] |
---|---|---|
author | Jerome Gaillard <jgaillard@google.com> | Tue May 09 18:23:23 2017 +0100 |
committer | Jerome Gaillard <jgaillard@google.com> | Tue May 09 18:23:23 2017 +0100 |
tree | da31bedc2c0d016ab1f9df22e710445e95a6b0ef | |
parent | 7b9cebcc4bbdd893d9e01848cd50733368e48775 [diff] |
Modify font metrics computation to match Android On Android, font metrics top and bottom seem 15% larger than ascent and descent. Paint_Delegate is modified to reflect this fact. Test: layoutlib tests updated Bug: 38117115 Change-Id: I4e9995ccbc991fbb857c8e3af45a908ad55db99e