summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramRaster.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-08-25 13:47:16 -0700
committerRaph Levien <raph@google.com>2014-08-26 19:37:45 -0700
commit117cbebe810613d4a6de034f02652cdbbfef4cde (patch)
tree163e0944d265b23001c9644c570a04f47ae3b030 /rs/java/android/renderscript/ProgramRaster.java
parent0db4f35e0bbc25ee25ebe2d57174893217248597 (diff)
New weight-aware font config
Parse new fonts.xml config file, and resolve weight selection based on the base weight of the font (as defined by a weight alias specified in the config file) and the requested bold flag. This change improves the appearance of bold spans for alternate weights of Roboto. In addition, this patch enables weight selection for fallback fonts. For example, if an additional font with a weight of 100 is added to the Hebrew font family in the fallback list, then requesting "sans-serif-thin" would select that font for Hebrew text. Bug: 14538154 Change-Id: I99a04fad4f7bf01c75726e760d42735dd9003496
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions