Update path to Android font config file
authortomhudson <tomhudson@chromium.org>
Wed, 13 Aug 2014 18:06:43 +0000 (11:06 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 13 Aug 2014 18:06:43 +0000 (11:06 -0700)
commit7a4747f4f62e4896d8f8469e1939b8191fff8d4e
treeb766f448d16b2236c699f721076072f7d7d3f79b
parent69a5560ea5a8d26b120f5158e506a163d32b4a27
Update path to Android font config file

In version LMP, Android is expected to change the path to their font
configuration file (and condense several files into one), as well as
changing the format (qv http://crrev.com/446473003/). This patch tries
the new path before falling back to the old path.

The new fonts are incompatible with assumptions made by the old
SkFontConfigInterfaceAndroid, so this patch MUST NOT land until
https://crrev.com/462073002/ or the equivalent has turned on the
new SkFontManager.

BUG=chromium:400801
R=djsollen@google.com, bungeman@google.com, tomhudson@google.com

Committed: https://skia.googlesource.com/skia/+/94fa4b99e2a53e997a90c7808cc5263f1bf40c9f

Author: tomhudson@chromium.org

Review URL: https://codereview.chromium.org/458543002
src/ports/SkFontConfigParser_android.cpp