Fix the layoutlib Paint.set(Paint) method. Do not merge.
It would change the text rendering info but not recompute the Java Font objects. The effect is a broken font rendering in the EditText (which use this method to copy some Paint object before using the copy for the actual drawing) Change-Id: I9e7fbf9bd57b421fd793876a6de4ade1ecac372d
This commit is contained in:
@@ -283,6 +283,8 @@ public class Paint extends _Original_Paint {
|
||||
mStyle = src.mStyle;
|
||||
mFlags = src.mFlags;
|
||||
|
||||
updateFontObject();
|
||||
|
||||
super.set(src);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user