Load hyphenation patterns for Bulgarian and Church Slavonic

Patterns for Bulgarian (bg) and Church Slavonic (cu) are now loaded
too.

Also make changes to fontchain_lint.py, so it knows the script for Bulgarian
and Church Slavonic is Cyrillic.

Test: make -j works and creates .hyb files for bg and cu
Change-Id: I0586f6c49380279ef88fe952b5cfd2d3594c5524
This commit is contained in:
Roozbeh Pournader
2017-02-22 18:53:39 -08:00
committed by Eric Laurent
parent 2f40b2b302
commit e626fb53e2
2 changed files with 4 additions and 0 deletions

View File

@@ -189,7 +189,9 @@ public class Hyphenator {
// TODO: replace this with a discovery-based method that looks into /system/usr/hyphen-data
String[] availableLanguages = {
"as",
"bg",
"bn",
"cu",
"cy",
"da",
"de-1901", "de-1996", "de-CH-1901",

View File

@@ -14,7 +14,9 @@ EMOJI_VS = 0xFE0F
LANG_TO_SCRIPT = {
'as': 'Beng',
'bg': 'Cyrl',
'bn': 'Beng',
'cu': 'Cyrl',
'cy': 'Latn',
'da': 'Latn',
'de': 'Latn',