Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicity reset typeface in updateTextPaint (#47097)
Summary: Pull Request resolved: #47097 Calling Paint.reset() doesn't reset the active type face (https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/libs/hwui/hwui/PaintImpl.cpp;l=86), which causes measurements bugs for Text which don't specify a font to be incorrect. Changelog: [Android][Fixed] Text without explicit font styles was potentially cut-off. Reviewed By: NickGerleman Differential Revision: D64535719 fbshipit-source-id: d300c26bf828a0e2e4b170254f9be5f409aff2dc
- Loading branch information