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
Loading
Please register or sign in to comment