commit | a3f5f22cbced8647fbf2c57bb84e722d14a5a0de | [log] [tgz] |
---|---|---|
author | Kohsuke Yatoh <kyatoh@google.com> | Wed Jun 09 20:09:49 2021 +0000 |
committer | Kohsuke Yatoh <kyatoh@google.com> | Thu Jun 10 21:02:24 2021 +0000 |
tree | 733de1d46e18b8664b336bf07760cbded4fab85b | |
parent | e298f682ca3eb84dd61de8a9899e657568af5012 [diff] |
Read font attributes from buffer. minikin::Font::typeface() is expensive because it will open the font file. Font attribute getters should avoid calling it. Bug: 188201287 Test: atest UpdatableSystemFontTest Test: atest CtsGraphicsTestCases:FontTest Test: atest CtsGraphicsTestCases:SystemFontsTest Change-Id: Ic8554f6dfacbe27ddfea6b375633c96bced2cc09