aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/surface.cpp
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2016-04-13 13:50:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-13 13:50:21 -0700
commitd3b63d3244add67b1d087123f36a418f7fd7ec0f (patch)
tree3e51c8294e1aeb3ec7c1c95d0d8b490630eba4c5 /gm/surface.cpp
parentb461d3457567cf79a3efac3123c00f7afc37fecb (diff)
Respect FC_MATRIX and FC_EMBOLDEN as extra font parameters.
A font consists of a set of data and a set of parameters to that data. For example a ttc font consists of the full font data parameterized by the index. In addition to the index, FontConfig allows specifying a matrix and embolden flag. In the future there may also be additional parameters of this sort, for example which color palette to use. This does not provide a way to serialize these parameters. Adding this here provides a nice place to experiment with doing so. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1890533002 Review URL: https://codereview.chromium.org/1890533002
Diffstat (limited to 'gm/surface.cpp')
0 files changed, 0 insertions, 0 deletions