diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-06 14:03:53 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-06 14:03:53 +0000 |
commit | e4faa14de8a1264811f07e4d24477ef33235cce2 (patch) | |
tree | 1c552d4c3bd5d3a06427526f2d0a056daded6539 /include | |
parent | da5e6e90989427a4bca736992af8bcce9f4ebc4f (diff) |
Remove unused complex script support from android builds
R=reed@google.com
Author: djsollen@google.com
Review URL: https://chromiumcodereview.appspot.com/14942003
git-svn-id: http://skia.googlecode.com/svn/trunk@9011 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/ports/SkTypeface_android.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/include/ports/SkTypeface_android.h b/include/ports/SkTypeface_android.h index 0592167964..e87fa4805a 100644 --- a/include/ports/SkTypeface_android.h +++ b/include/ports/SkTypeface_android.h @@ -11,60 +11,6 @@ #include "SkTypeface.h" -enum FallbackScripts { - kArabic_FallbackScript, - kArmenian_FallbackScript, - kBengali_FallbackScript, - kDevanagari_FallbackScript, - kEthiopic_FallbackScript, - kGeorgian_FallbackScript, - kHebrewRegular_FallbackScript, - kHebrewBold_FallbackScript, - kKannada_FallbackScript, - kMalayalam_FallbackScript, - kTamilRegular_FallbackScript, - kTamilBold_FallbackScript, - kThai_FallbackScript, - kTelugu_FallbackScript, - 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. -#define kTamil_FallbackScript kTamilRegular_FallbackScript - -#define SkTypeface_ValidScript(s) (s >= 0 && s < kFallbackScriptNumber) - -/** - * Return a new typeface for a fallback script. If the script is - * not valid, or can not map to a font, returns null. - * @param script The script id. - * @return reference to the matching typeface. Caller must call - * unref() when they are done. - */ -SK_API SkTypeface* SkCreateTypefaceForScript(FallbackScripts script); - -/** - * Return the string representation for the fallback script on Android. - * If the script is not valid, returns null. - */ -SK_API const char* SkGetFallbackScriptID(FallbackScripts script); - -/** - * Return the fallback script enum for the ID on Android. - * If the ID is not valid, or can not map to a fallback - * script, returns kFallbackScriptNumber. - */ -SK_API FallbackScripts SkGetFallbackScriptFromID(const char* id); - -/** - * Return a new typeface of the font in the fallback font list containing - * the specified chararacter. If no typeface is found, returns null. - */ -SK_API SkTypeface* SkCreateFallbackTypefaceForChar(SkUnichar uni, - SkTypeface::Style style); - /** * Get the family name of the font in the fallback font list containing * the specified chararacter. if no font is found, returns false. |