[android] Add an API to load customized font config for testing.
authordjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 25 Jun 2012 13:58:22 +0000 (13:58 +0000)
committerdjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 25 Jun 2012 13:58:22 +0000 (13:58 +0000)
commit5df2a99861c61b5d967f8def1ff13514d0e1ed33
treeeb39bf8b483057490dcdff896f58e00e4c2c5d99
parent3eee8fbe0f280bc1dea59dc0b0ebd8021b51137f
[android] Add an API to load customized font config for testing.

When running WebKit layout tests, we need to load some fonts from Linux to
match baselines of chromium linux. However, font config file is
hard-coded in Skia now. This change add an API to customize font config
in skia.

https://codereview.appspot.com/6296067/

git-svn-id: http://skia.googlecode.com/svn/trunk@4316 2bbb7eff-a529-9590-31e7-b0007b416f81
include/ports/SkTypeface_android.h
src/ports/FontHostConfiguration_android.cpp
src/ports/FontHostConfiguration_android.h
src/ports/SkFontHost_android.cpp