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

Commit 13c70d6d authored by Calvin Pan's avatar Calvin Pan
Browse files

Add hyphenation pattern for Russian

Bug: 181262335
Test: atest android.graphics.text.cts.HyphenationTest
Change-Id: Ifa018e7bf09a3e541e5299002ef8a7995e1bdbd9
parent 7b0de5c8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ static void init() {
    addHyphenator("or", INDIC_MIN_PREFIX, INDIC_MIN_SUFFIX);  // Oriya
    addHyphenator("pa", INDIC_MIN_PREFIX, INDIC_MIN_SUFFIX);  // Punjabi
    addHyphenator("pt", 2, 3);  // Portuguese
    addHyphenator("ru", 2, 2);  // Russian
    addHyphenator("sk", 2, 2);  // Slovak
    addHyphenator("sl", 2, 2);  // Slovenian
    addHyphenator("sq", 2, 2);  // Albanian
+1 −0
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ LANG_TO_SCRIPT = {
    'or': 'Orya',
    'pa': 'Guru',
    'pt': 'Latn',
    'ru': 'Latn',
    'sk': 'Latn',
    'sl': 'Latn',
    'sq': 'Latn',