Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d191ed9 authored by Junichi Monma's avatar Junichi Monma
Browse files

Added the necessary Harfbuzz scripts for rendering Japanese text correctly.

bug id : b/8023135

Change-Id: Ie9a69f480026302ff949fdf2b4089e4d95a38fb0
parent 2125dd57
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;