OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2125dd5
)
Added the necessary Harfbuzz scripts for rendering Japanese text correctly.
author
Junichi Monma
<monma@google.com>
Thu, 17 Jan 2013 07:13:22 +0000
(16:13 +0900)
committer
Junichi Monma
<monma@google.com>
Thu, 17 Jan 2013 07:13:22 +0000
(16:13 +0900)
bug id : b/
8023135
Change-Id: Ie9a69f480026302ff949fdf2b4089e4d95a38fb0
core/jni/android/graphics/TextLayoutCache.cpp
patch
|
blob
|
history
diff --git
a/core/jni/android/graphics/TextLayoutCache.cpp
b/core/jni/android/graphics/TextLayoutCache.cpp
index
d7df402
..
6d3c878
100644
(file)
--- a/
core/jni/android/graphics/TextLayoutCache.cpp
+++ b/
core/jni/android/graphics/TextLayoutCache.cpp
@@
-810,6
+810,9
@@
bool TextLayoutShaper::isComplexScript(hb_script_t script) {
case HB_SCRIPT_CYRILLIC:
case HB_SCRIPT_HANGUL:
case HB_SCRIPT_INHERITED:
+ case HB_SCRIPT_HAN:
+ case HB_SCRIPT_KATAKANA:
+ case HB_SCRIPT_HIRAGANA:
return false;
default:
return true;