Merge pull request #157 from jpirnay/feat-viet-preproc
feat: Embrace vietnamese character preprocessing from crosspet
This commit is contained in:
commit
e9870534dd
3 files changed
+294
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user