summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-06-06 18:05:22 -0700
committerRaph Levien <raph@google.com>2014-06-11 12:55:26 -0700
commiteb4f5680c3773750464a3786ec89e2c679e105f2 (patch)
tree30e53c58c78b36fc27b83672cf7a45e1acad3670 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentf71372099ee000e8639a9fc1d33d5657dfbc3ccd (diff)
Support for fake bold in Minikin builds
Part of the fix for bug 15436379 Fake bold doesn't fully work (Minikin) This patch queries the Minikin layout for when fake bold is needed, and applies that to both shaping and drawing paint. Also simplifies refcounting (the lifetime of all MinikinFont objects is subsumed by the enclosing FontCollection). Note: the fake bold flag set by the user is ignored in this patch. Fake italics would be possible using the same mechanism, but it's slightly more complicated (fake and user-set textSkewX values would need to be combined, and the latter restored after drawing). Change-Id: Ica2c4604846cbb37e5a783778b18d8993c9d4563
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions