summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Seigo Nonaka <nona@google.com> 2021-12-10 10:49:43 -0800
committer Seigo Nonaka <nona@google.com> 2022-01-06 23:03:28 -0800
commita1b7ced11c774d89b0b18b1076f5f0ce8598f0e3 (patch)
treec445fc34bfc5eea6ce9ec9d194ed14d51551ac3f /libs/androidfw/StringPool.cpp
parentbb5068359996253178aba8fe0aad9a832988ae96 (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