diff --git a/src/pretix/base/pdf.py b/src/pretix/base/pdf.py index 1dbb32f8ed..8eeffd8d39 100644 --- a/src/pretix/base/pdf.py +++ b/src/pretix/base/pdf.py @@ -40,6 +40,7 @@ import os import re import subprocess import tempfile +import unicodedata import uuid from collections import OrderedDict from functools import partial @@ -860,6 +861,9 @@ class Renderer: except: logger.exception('Reshaping/Bidi fixes failed on string {}'.format(repr(text))) + # reportlab does not support unicode combination characters + text = unicodedata.normalize("NFKC", text) + p = Paragraph(text, style=style) w, h = p.wrapOn(canvas, float(o['width']) * mm, 1000 * mm) # p_size = p.wrap(float(o['width']) * mm, 1000 * mm)