diff --git a/lib/Epub/Epub/hyphenation/HyphenationCommon.cpp b/lib/Epub/Epub/hyphenation/HyphenationCommon.cpp index 907095fc..99584fde 100644 --- a/lib/Epub/Epub/hyphenation/HyphenationCommon.cpp +++ b/lib/Epub/Epub/hyphenation/HyphenationCommon.cpp @@ -111,6 +111,18 @@ bool isExplicitHyphen(const uint32_t cp) { case 0x058A: // Armenian hyphen case 0x2010: // hyphen case 0x2011: // non-breaking hyphen + case 0x2012: // figure dash + case 0x2013: // en dash + case 0x2014: // em dash + case 0x2015: // horizontal bar + case 0x2043: // hyphen bullet + case 0x207B: // superscript minus + case 0x208B: // subscript minus + case 0x2212: // minus sign + case 0x2E17: // double oblique hyphen + case 0x2E3A: // two-em dash + case 0x2E3B: // three-em dash + case 0xFE58: // small em dash case 0xFE63: // small hyphen-minus case 0xFF0D: // fullwidth hyphen-minus return true;