Skip to content

[SD-294] fix cert font & set global sans

  • Added global support for Arabic, Devanagari, and Chinese (CJK characters)
  • Added support for Chinese chars on certs

====

Description

After investigation, I found that our website does not support some East Asian characters well, which causes abnormal display of certificates for some users who use Chinese (or Japanese?) in their official names.

This MR aims to add support for Han Sans. Due to the conditions of react-pdf, only one font is currently used to implement (support for Simplified Chinese, Traditional Chinese and Japanese).

More thoughts

  • Shall we avoid users entering non-Latin characters when creating an account?
  • If the answer is no, is there a plan to support Chinese and Japanese characters globally? (Currently, the glyphs in accounts profiles/team page are not normal Chinese/Japanese fonts)

Closes SD-294

Edited by Tianyi Liang

Merge request reports

Loading