After beautifying and optimizing the Ubuntu font, the original default font is still used for reading emails in Traditional Chinese. Therefore, the last setting process is summarized as follows together with the traditional font settings, you don't need to find the system in the future. First download the font file, and use LiHeiPro. otf in simplified Chinese to use STHeiti. ttf in Traditional Chinese to use LucidaGrande. The Chinese characters are all in the blacklist of Mac. For copyright reasons, the download link is not provided here. Because LiHeiP
After beautifying and optimizing the Ubuntu font, the original default font is still used for reading emails in Traditional Chinese. Therefore, the last setting process is summarized as follows together with the traditional font settings, you don't need to find the system in the future.
First, download the font file. For Simplified Chinese, use STHeiti. ttf for traditional Chinese, use LiHeiPro. otf for English, and use Lucida Grande. The Chinese characters are all in the blacklist of Mac. For copyright reasons, the download link is not provided here.
Because LiHeiPro. otf is the font of Open Ture Type, rather than TTF, the system cannot be used directly. We need to convert it. Save the following content to the otf2ttf. sh file:
#! /Usr/bin/fontforge
# Quick and dirty hack: converts a font to truetype (. ttf)
Print ("Opening" + $1 );
Open ($1 );
Print ("Saving" + $1: r + ". ttf ");
Generate ($1: r + ". ttf ");
Quit (0 );
Of course, you need to ensure that the fontforge has been installed, and the path of the first line of the above script is the same as that of the actual, and add executable attributes for the script: