aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBilly Hewlett <billyh@google.com>2012-06-07 15:23:06 -0700
committerJean-Baptiste Queru <jbq@google.com>2012-06-07 15:28:40 -0700
commit10a5e44dc3b8f22e8c4e862cd81d220b7fd4edfa (patch)
treee9ac6e95a5deee74e7203bbd857684b090676c5e
parentc8871a4082a8e9cc59daf8e649688acd2b150fcd (diff)
downloadexternal_skia-10a5e44dc3b8f22e8c4e862cd81d220b7fd4edfa.zip
external_skia-10a5e44dc3b8f22e8c4e862cd81d220b7fd4edfa.tar.gz
external_skia-10a5e44dc3b8f22e8c4e862cd81d220b7fd4edfa.tar.bz2
Cherrypick change to skia
Change-Id: I9845f8d042fb89fe0f4876f0021b9ec486ac3ef5
-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