Группа :: Работа с текстами
Пакет: coolreader3
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: coolreader3-3.2.57-textlang.patch
Скачать
Скачать
We don't have libtextlang 4.x right now...
--- crengine/src/textlang.cpp
+++ crengine/src/textlang.cpp
@@ -818,7 +818,7 @@ TextLangCfg::TextLangCfg( lString32 lang_tag ) {
if ( has_left_double_angle_quotation_mark_closing ) _lb_props[n++] = { 0x00AB, 0x00AB, LBP_CL };
// Soft-Hyphens are handled by Hyphman hyphenate(), have them handled as Zero-Width-Joiner by
// libunibreak so they don't allow any break and don't prevent hyphenate() to handle them correctly.
- _lb_props[n++] = { 0x00AD, 0x00AD, LBP_ZWJ };
+ _lb_props[n++] = { 0x00AD, 0x00AD, LBP_WJ };
if ( has_right_double_angle_quotation_mark_opening ) _lb_props[n++] = { 0x00BB, 0x00BB, LBP_OP };
if ( has_right_double_angle_quotation_mark_closing ) _lb_props[n++] = { 0x00BB, 0x00BB, LBP_CL };
if ( has_em_dash_alphabetic ) _lb_props[n++] = { 0x2014, 0x2014, LBP_AL };