diff options
| author | 2021-12-10 10:49:43 -0800 | |
|---|---|---|
| committer | 2022-01-06 23:03:28 -0800 | |
| commit | a1b7ced11c774d89b0b18b1076f5f0ce8598f0e3 (patch) | |
| tree | c445fc34bfc5eea6ce9ec9d194ed14d51551ac3f /libs/androidfw/StringPool.cpp | |
| parent | bb5068359996253178aba8fe0aad9a832988ae96 (diff) | |
Implement fallback line spacing for BoringLayout
The fallback line spacing is a feature of extending the line height
when the fallback font has taller glyph. This was implemented to
StaticLayout in Android P but not yet implemented in BoringLayout.
This CL enables this feature to the BoringLayout as well.
Not to break existing apps, change this behavior only if the
targetSdk version is T or later.
Bug: 210923482
Test: atest FallbackLineSpacingTest BoringLayoutFallbackLineSpacingTest
Test: atest CtsGraphicsTestCases
Test: atest CtsTextTestCases
Change-Id: I6214d52cde25a044bc6e246d2118e35d3a243c9d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions