summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBen Wagner <bungeman@google.com>2015-11-06 11:57:09 -0500
committerBen Wagner <bungeman@google.com>2016-02-12 16:28:35 +0000
commita87b07d7fafd59ae26073a80cd742b17ea427ecd (patch)
tree22214c42f3245b6113f79315c5eb45ad98e72ae6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent67a28e8c3809f7d68999f586edd7d7ff4bd27c9b (diff)
Add support for gx font variation axes.
This adds an 'axis' child element to the 'font' element. The 'axis' element has attributes 'tag' (a four byte identifier) and 'stylevalue' (a float value) to the parser. This also modifies reading the font file name in a backwards compatible fashion by using only the direct #text children of the 'font' element. (Both the Minikin and Skia parsers now allow the font file name on a separate line in the fonts.xml file). This information is then passed through to Skia in order to select the desired variation. The Skia parser already parses this way and has for some time, so Chrome and WebView can already read this format. Change-Id: I15623fe864fa92b2bf0705af5e389daedfb77e5c (cherry picked from commit b8e367fb7428076ff2e4aa2a97adaed1ef806e92)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions