diff options
author | Gilles Debunne <debunne@google.com> | 2010-12-02 15:50:26 -0800 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2010-12-02 16:18:54 -0800 |
commit | 0bb000931bb841e75903d655552d1626ae158707 (patch) | |
tree | 4cee560a61d3c37fb619719e4e9214bfe135b128 /graphics | |
parent | dcafdb2e9babeaa7aafd1cb15be6423a656de996 (diff) | |
download | frameworks_base-0bb000931bb841e75903d655552d1626ae158707.zip frameworks_base-0bb000931bb841e75903d655552d1626ae158707.tar.gz frameworks_base-0bb000931bb841e75903d655552d1626ae158707.tar.bz2 |
Fix in vertical measurement in text lines with different text sizes
The last span of the TextLine was defining the FontMetrics, instead of
min/maxing the different values.
Bug 3220698
Change-Id: I7394b1699a15aeee4cc38462d561faf329d3e1f6
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/graphics/Paint.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/java/android/graphics/Paint.java b/graphics/java/android/graphics/Paint.java index 62fbfb4..e3bb6eb 100644 --- a/graphics/java/android/graphics/Paint.java +++ b/graphics/java/android/graphics/Paint.java @@ -1818,6 +1818,7 @@ public class Paint { nativeGetCharArrayBounds(mNativePaint, text, index, count, bounds); } + @Override protected void finalize() throws Throwable { finalizer(mNativePaint); } |