Fix broken android build
git-svn-id: http://skia.googlecode.com/svn/trunk@3404 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
ff029606bd
commit
b8ff633dba
@ -552,7 +552,7 @@ static void load_system_fonts() {
|
||||
|
||||
// SkDebugf("---- SkTypeface[%d] %s fontID %d\n", i, rec[i].fFileName, tf->uniqueID());
|
||||
|
||||
FallbackScripts fallbackScript = SkGetScriptFromFileName(rec[i].fFileName);
|
||||
FallbackScripts fallbackScript = SkGetFallbackScriptFromID(rec[i].fFileName);
|
||||
if (SkTypeface_ValidScript(fallbackScript)) {
|
||||
gFallbackScriptsMap[fallbackScript] = tf->uniqueID();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user