Merge pull request #157 from jpirnay/feat-viet-preproc
feat: Embrace vietnamese character preprocessing from crosspet
This commit is contained in:
@@ -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