aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-06-07 15:29:21 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-06-07 15:29:22 -0700
commit9b1d07582a57f0bf58a60f0b8e8f81a5d1c6b867 (patch)
treee9ac6e95a5deee74e7203bbd857684b090676c5e
parentc8871a4082a8e9cc59daf8e649688acd2b150fcd (diff)
parent10a5e44dc3b8f22e8c4e862cd81d220b7fd4edfa (diff)
downloadexternal_skia-9b1d07582a57f0bf58a60f0b8e8f81a5d1c6b867.zip
external_skia-9b1d07582a57f0bf58a60f0b8e8f81a5d1c6b867.tar.gz
external_skia-9b1d07582a57f0bf58a60f0b8e8f81a5d1c6b867.tar.bz2
Merge "Cherrypick change to skia"
-rw-r--r--include/ports/SkTypeface_android.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/ports/SkTypeface_android.h b/include/ports/SkTypeface_android.h
new file mode 100644
index 0000000..1a02a55
--- /dev/null
+++ b/include/ports/SkTypeface_android.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2012 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+
+#ifndef SkTypeface_android_DEFINED
+#define SkTypeface_android_DEFINED
+
+#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
+};
+
+
+SK_API SkTypeface* SkCreateTypefaceForScript(FallbackScripts script) {return NULL; }
+#endif