Add legacy script to enable skia roll into chromium.

Review URL: https://codereview.appspot.com/6277045

git-svn-id: http://skia.googlecode.com/svn/trunk@4137 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
djsollen@google.com 2012-06-04 13:39:47 +00:00
parent 0ae2ca2830
commit c6ff3e7a49

View File

@ -29,6 +29,11 @@ enum FallbackScripts {
kFallbackScriptNumber
};
// This particular mapping will be removed after WebKit is updated to use the
// new mappings. No new caller should use the kTamil_FallbackScript but rather
// the more specific Tamil scripts in the standard enum.
static FallbackScripts kTamil_FallbackScript = kTamilRegular_FallbackScript;
#define SkTypeface_ValidScript(s) (s >= 0 && s < kFallbackScriptNumber)
/**