commit | d154829cb15d61f1469f939d608e691256e2a765 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Tue Apr 11 21:00:27 2017 -0700 |
committer | Seigo Nonaka <nona@google.com> | Fri Apr 14 00:54:46 2017 +0000 |
tree | f34aa249ab66bb36486af742f39a4b51b06d0de7 | |
parent | 92fc8bdd518cccf1c4fe2c9ad2460178cf61e3b4 [diff] |
Use provided style for fallback font selection If the developer gives some weight/italic to the Typeface.Builder the fallback used the metadata in the font file. We should use provided data instead. This CL also adjusts upper and lower limits on weight, from 100..900 to 1..1000 Bug: 37257745 Bug: 37251569 Test: android.graphics.cts.TypefaceTest passes Change-Id: I7cf390d96b49afcce359928373698b0c9a9babd8