Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4db1ae80 authored by Seigo Nonaka's avatar Seigo Nonaka
Browse files

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
parent dbe81bbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment