Commit Graph

11 Commits

Author SHA1 Message Date
Arthur Tazhitdinov
247463a4b9 format fix 2025-12-26 04:37:15 +05:00
Arthur Tazhitdinov
5d00e5ac0f Enhance hyphenation logic: add morphology break handling and improve vowel detection 2025-12-26 04:36:19 +05:00
Arthur Tazhitdinov
0fa50291b9 Refactor hyphenation logic: update isAlphabetic function and enhance punctuation checks 2025-12-26 04:11:32 +05:00
Arthur Tazhitdinov
a0113b58e0 Remove additional punctuation cases from isPunctuation function 2025-12-26 03:41:17 +05:00
Arthur Tazhitdinov
e156790705 Add punctuation handling: implement isPunctuation and trimTrailingPunctuation functions 2025-12-26 03:39:15 +05:00
Arthur Tazhitdinov
e7edcb6467 Implement hyphenation support in text layout by enhancing word splitting and line breaking logic 2025-12-26 00:39:09 +05:00
Arthur Tazhitdinov
b768c4ba89 comments 2025-12-19 10:43:15 +05:00
Arthur Tazhitdinov
63668708bc Add comments to clarify hyphenation logic and structure in Epub processing 2025-12-18 20:08:31 +05:00
Arthur Tazhitdinov
074bab82ff Remove fallback break index logic from Hyphenator 2025-12-17 18:46:22 +03:00
Arthur Tazhitdinov
13a6c43b87 clang format fix 2025-12-17 18:24:09 +03:00
Arthur Tazhitdinov
26b84b38a2 Implement hyphenation support for English and Russian languages
- Added EnglishHyphenator and RussianHyphenator classes to handle language-specific hyphenation rules.
- Introduced HyphenationCommon for shared utilities and character classification functions.
- Updated ParsedText to utilize hyphenation when laying out text.
- Enhanced the hyphenation logic to consider word splitting based on available width and character properties.
- Refactored existing code to improve readability and maintainability, including the use of iterators and lambda functions for line processing.
- Added necessary includes and organized header files for better structure.
2025-12-17 18:10:58 +03:00