From 57cdcc091bf8ff4c6da90c6dac8ca3780bfe3b3c Mon Sep 17 00:00:00 2001 From: "djsollen@google.com" Date: Wed, 29 Aug 2012 19:08:50 +0000 Subject: [PATCH] Change Arabic sample character from 0x0600 to 0x0627. Arabic font on some devices doesn't have 0x0600 glyph and is not correctly handled by complex text path. BUG=6772513 Review URL: https://codereview.appspot.com/6497053 git-svn-id: http://skia.googlecode.com/svn/trunk@5336 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/ports/SkFontHost_android.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ports/SkFontHost_android.cpp b/src/ports/SkFontHost_android.cpp index fa6ed969d6..21c08708b1 100644 --- a/src/ports/SkFontHost_android.cpp +++ b/src/ports/SkFontHost_android.cpp @@ -952,7 +952,7 @@ struct FBScriptInfo { { script, #script, style, unichar, 0 } static FBScriptInfo gFBScriptInfo[] = { - SK_DEFINE_SCRIPT_ENTRY(kArabic_FallbackScript, SkTypeface::kNormal, 0x0600), + SK_DEFINE_SCRIPT_ENTRY(kArabic_FallbackScript, SkTypeface::kNormal, 0x0627), SK_DEFINE_SCRIPT_ENTRY(kArmenian_FallbackScript, SkTypeface::kNormal, 0x0531), SK_DEFINE_SCRIPT_ENTRY(kBengali_FallbackScript, SkTypeface::kNormal, 0x0981), SK_DEFINE_SCRIPT_ENTRY(kDevanagari_FallbackScript, SkTypeface::kNormal, 0x0901),