Linux installation of Chinese fonts

Chinese can not display the problem.
 
1 Download the simsun.ttf (Song style) font file
 
2 Copy the simsun.ttf file to %JavaHome%/jre/lib/fonts
 
3 Execute the "ttmkfdir -o fonts.dir" command in the %JavaHome%/jre/lib/fonts directory to regenerate the fonts.dir file
 
 
Note: The system may not recognize the ttmkfdir command, you need to run yun install ttmkfdir to install ttmkfdir .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326539068&siteId=291194637