Some elements are not show in Chinese when print badges and poster

Hello,
In Indico3.0, When I print badges and posters into PDF, all elements contain Chinese , some elements are printed in chinese, some element are not printed in Chinese in PDF. For exmple, event title, chairs, venue are not printed in Chinese in PDF.
badges
Why?
How to make all of elements show in Chinese ?

Thanks a lot ,

I think you need to add a font that support Chinses. Please refer to the following post for adding a font:

Hello,

I refer the post to add Chinese fonts. Here is what I did.

(1) I put the Chinese fonts uming.ttc into indico_fonts directory
/opt/indico/.venv/lib/python3.9/site-packages/indico_fonts

(2) I add the line in /indico/legacy/pdfinterface/base.py
+137 pdfmetrics.registerFont(TTFont(‘Uming-CN’,os.path.join(font_dir, ‘uming.ttc’)))

(3) I add the line in /indico/modules/designer/pdf.py
FONT_STYLES = {
+33
‘Uming-CN’: [‘Uming-CN’, ‘Uming-CN’, ‘Uming-CN’, ‘Uming-CN’]
}
(4) The line is in the file /indico/modules/designer/templates/ template.html
Uming-CN

(5) I restart all.

I still have the same badges. Some of Chinese cannot be printed in badges in PDF.

Is there any other things needed to be change ?

Thanks a lot,

I correct my last message
(4) The line is in the file /indico/modules/designer/templates/ template.html
u