commit | 1ed4f6441fc10b3e6d749606d1e44a2dca9710a5 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Thu Sep 10 17:19:34 2020 -0700 |
committer | Seigo Nonaka <nona@google.com> | Wed Sep 23 13:01:38 2020 -0700 |
tree | 3c180e5c17ba11a70b30cf519f13916371c814be | |
parent | 3c99024fdbdceeb72f6545275c68eade284b9ebb [diff] |
Add necessary APIs for supporting glyph level drawing This CL adds following APIs Font#cloneWithSettings This API provides a faster Font instance creation for different variation settings. Font#getBounds This API provides glyph advance and bounding box information. Font#getMetrics This API provides font metrics that will be used for deciding line height and/or baseline. Bug: 168136332 Test: atest FontTest Test: TreeHugger Change-Id: I335557ce47ea0ca8e012c2a48b804c00bb348392