diff options
author | 2024-12-05 17:21:49 +0900 | |
---|---|---|
committer | 2024-12-05 17:21:49 +0900 | |
commit | 4db1ae80ddf2d3e63e9a006bb399042f7dc3e6c3 (patch) | |
tree | ae864e283765af41f5ca9ed641285668e207c91b /libs/androidfw/ApkAssets.cpp | |
parent | dbe81bbba981a253c3381d92da91792d4921944a (diff) |
Make setFontVariationSettings work with weight adjustment
If setFontVariationSettings is called, the font weight adjustment
no longer adjusted except for the synthetic bolding.
From target SDK 36, because the font variation settings is stored
in the Paint class, it is possible to adjust the weight at runtime
without using synthetic bolding.
Bug: 380202452
Test: atest CtsGraphicsTestCases
Test: atest CtsTextTestCases
Test: atest minikin_tests
Test: manually done
Flag: com.android.text.flags.typeface_redesign_readonly
Change-Id: Ie591086b48d538bc4e554854d9d4a7d04a6b398a
Diffstat (limited to 'libs/androidfw/ApkAssets.cpp')
0 files changed, 0 insertions, 0 deletions