Merge pull request #157 from jpirnay/feat-viet-preproc

feat: Embrace vietnamese character preprocessing from crosspet
This commit is contained in:
jpirnay
2026-04-30 15:36:45 +02:00
committed by GitHub
3 changed files with 294 additions and 0 deletions
+1
View File
@@ -195,6 +195,7 @@ void ParsedText::addWord(std::string word, const EpdFontFamily::Style fontStyle,
const bool attachToPrevious) {
if (word.empty()) return;
word = utf8NfcNorm(std::move(word));
words.push_back(std::move(word));
EpdFontFamily::Style combinedStyle = fontStyle;
if (underline) {