Use .dict files since below the 500K limit
Change-Id: Iec71ad4918cd333f0a44d372017ecee300e3aca9 Reviewed-on: https://gerrit.libreoffice.org/20748 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
This commit is contained in:
3
external/icu/UnpackedTarball_icu.mk
vendored
3
external/icu/UnpackedTarball_icu.mk
vendored
@@ -27,6 +27,9 @@ $(eval $(call gb_UnpackedTarball_add_patches,icu,\
|
|||||||
external/icu/clang-cl.patch.0 \
|
external/icu/clang-cl.patch.0 \
|
||||||
$(if $(filter-out ANDROID,$(OS)),external/icu/icu4c-icudata-stdlibs.diff) \
|
$(if $(filter-out ANDROID,$(OS)),external/icu/icu4c-icudata-stdlibs.diff) \
|
||||||
$(if $(filter EMSCRIPTEN,$(OS)),external/icu/icu4c-emscripten.patch.1) \
|
$(if $(filter EMSCRIPTEN,$(OS)),external/icu/icu4c-emscripten.patch.1) \
|
||||||
|
external/icu/khmerbreakengine.patch \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
$(eval $(call gb_UnpackedTarball_add_file,icu,source/data/brkitr/khmerdict.dict,external/icu/khmerdict.dict))
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
1403
external/icu/khmerbreakengine.patch
vendored
Normal file
1403
external/icu/khmerbreakengine.patch
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
external/icu/khmerdict.dict
vendored
Normal file
BIN
external/icu/khmerdict.dict
vendored
Normal file
Binary file not shown.
@@ -123,7 +123,7 @@ void SAL_CALL BreakIterator_Unicode::loadICUBreakIterator(const css::lang::Local
|
|||||||
OUStringToOString(breakRules[breakType], RTL_TEXTENCODING_ASCII_US).getStr(), &status), status);
|
OUStringToOString(breakRules[breakType], RTL_TEXTENCODING_ASCII_US).getStr(), &status), status);
|
||||||
}
|
}
|
||||||
//use icu's breakiterator for Thai, Tibetan and Dzongkha
|
//use icu's breakiterator for Thai, Tibetan and Dzongkha
|
||||||
else if (rLocale.Language != "th" && rLocale.Language != "lo" && rLocale.Language != "bo" && rLocale.Language != "dz")
|
else if (rLocale.Language != "th" && rLocale.Language != "lo" && rLocale.Language != "bo" && rLocale.Language != "dz" && rLocale.Language != "km")
|
||||||
{
|
{
|
||||||
status = U_ZERO_ERROR;
|
status = U_ZERO_ERROR;
|
||||||
OStringBuffer aUDName(64);
|
OStringBuffer aUDName(64);
|
||||||
|
Reference in New Issue
Block a user