Respect FC_MATRIX and FC_EMBOLDEN as extra font parameters.
authorbungeman <bungeman@google.com>
Wed, 13 Apr 2016 20:50:20 +0000 (13:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 13 Apr 2016 20:50:21 +0000 (13:50 -0700)
commitd3b63d3244add67b1d087123f36a418f7fd7ec0f
tree3e51c8294e1aeb3ec7c1c95d0d8b490630eba4c5
parentb461d3457567cf79a3efac3123c00f7afc37fecb
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
src/ports/SkFontMgr_fontconfig.cpp