go to absurd lengths handling locales

This commit is contained in:
2025-08-03 18:22:54 -05:00
parent ef40b2171e
commit 7cc8d5b477
6 changed files with 80 additions and 13 deletions

View File

@@ -109,7 +109,11 @@ static void push_snippets(size_t start, size_t end, text_params_t& options, size
}
std::map<std::string, std::string> substitutions = {
{"", "--"}
{"", "--"},
{"´", "'"},
{"©", "(C)"},
{"", "..."},
{"", "TM"}
};
break_info_t calculate_line_wrapping(rectangle dest_rect, std::string str, TextStyle style) {