Improved message markup handling

This commit is contained in:
Mark Qvist 2024-12-09 16:10:32 +01:00
parent 3b8700c197
commit fbb58eb7b9
3 changed files with 15 additions and 7 deletions

View file

@ -86,14 +86,8 @@ def multilingual_markup(data):
if rfont != "default":
do += "[/font]"
# TODO: Remove
# print(do+"\n\n"+str(time.time()-ts))
return do.encode("utf-8")
font_map = {
"mono": "RobotoMono-Regular"
}
codepoint_map = {
0x0590: [0x05ff, "hebrew"],