summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-06-05 22:38:08 -0700
committerRaph Levien <raph@google.com>2014-06-11 12:55:20 -0700
commitf71372099ee000e8639a9fc1d33d5657dfbc3ccd (patch)
tree5436e2bfde7e13216edf225c55db7e88782ee4c8 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent486ed0889999071ee09bf600d8e6511fa0d4571a (diff)
Fix getFontMetrics problems
Fixes a number of individual problems. In Minikin builds, gets base font from TypefaceImpl rather than using whatever random font was in the paint. Respects elegant metrics in ascent and descent methods as well as getFontMetrics. Sets fixed ascent and descent values to 1900, -500, which matches the Roboto font. Part of the fix for bug 15467288 "Inconsistent line heights on Minikin builds" Change-Id: I12915f4a62de28932469c7279241eecf7320c47b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions