preface
When dealing with the problem of image composition, I found that if PingFang SC font is used for SVG images, Chinese cannot be recognized in Linux system and garbled characters will be displayed
PingFang SC
How to install PingFangSC font on Linux?
-
PingFangSC TTF font PingFangSC TTF font
-
Put the downloaded fonts in /usr/share/fonts/apple
-
Run the fc-cache command to refresh the font cache
-
Using Linux command fc – the list | grep the font used to view the current system font