summaryrefslogtreecommitdiffstats
path: root/core/jni/android
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2012-04-12 16:20:49 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2012-04-12 16:40:56 -0700
commit276de3e1eb11d1eb93076dca5a69c791d3ef63d8 (patch)
treee8fc875a7062bc6d43ea916c08db4f01c1cf3469 /core/jni/android
parent7405b90df43a4e2c544f17895158d07130e5922c (diff)
downloadframeworks_base-276de3e1eb11d1eb93076dca5a69c791d3ef63d8.zip
frameworks_base-276de3e1eb11d1eb93076dca5a69c791d3ef63d8.tar.gz
frameworks_base-276de3e1eb11d1eb93076dca5a69c791d3ef63d8.tar.bz2
Add new Arabic font for SystemUI
- still work in progress - bug #5987379 Change-Id: I0a7f7437c9061eab0abc9d5979c947eb5511992a
Diffstat (limited to 'core/jni/android')
-rw-r--r--core/jni/android/graphics/TextLayoutCache.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/jni/android/graphics/TextLayoutCache.cpp b/core/jni/android/graphics/TextLayoutCache.cpp
index a7abbfa..a97c710 100644
--- a/core/jni/android/graphics/TextLayoutCache.cpp
+++ b/core/jni/android/graphics/TextLayoutCache.cpp
@@ -29,10 +29,7 @@ extern "C" {
namespace android {
//--------------------------------------------------------------------------------------------------
-// Using DroidSansArabic for shaping Arabic with Harfbuzz because its metrics are more compatible
-// with the "Roboto" metrics (compared to DroidNaskh-Regular). When we will have an Arabic font
-// whose metrics are similar to the Roboto ones, then we will need to use it for shaping.
-#define TYPEFACE_ARABIC "/system/fonts/DroidSansArabic.ttf"
+#define TYPEFACE_ARABIC "/system/fonts/DroidNaskh-Regular-Shift.ttf"
#define TYPE_FACE_HEBREW_REGULAR "/system/fonts/DroidSansHebrew-Regular.ttf"
#define TYPE_FACE_HEBREW_BOLD "/system/fonts/DroidSansHebrew-Bold.ttf"
#define TYPEFACE_BENGALI "/system/fonts/Lohit-Bengali.ttf"