I always wanted to set Chinese and English fonts separately, but I never succeeded.
Previously, only the favorite English font was set as the default font,
However, Chinese characters are very ugly, because many text fonts are different in size.
Zi
Think about how it (I have been using gnome) works. It generally has a font list, and you can search for it when you want to display a word, until a display is found.
For example, if my default font is a Chinese font, the English font will change. But now the default font is English, and it cannot be found when displaying Chinese characters, so it will find it from its default list.
Now.
As to the location where the list is stored,
I found two files in/etc/fonts/CONF. D, 40-generic.conf and
65-nonlatin.conf,
According to the instructions in/etc/fonts/CONF. avail, these configuration files are loaded sequentially by serial number,
So I modified 65-nonlatin.conf. because I want to use the, I found the corresponding,
And move it to the very beginning of the position to become the first.
Then I restarted X and got stuck. Then I restarted it to solve the problem.
It's so eye-catching now.
In ubuntu
Set the default Chinese font. I have mentioned modifying/etc/fonts/CONF. d/65-nonlatin.conf
A better way is to modify/etc/fonts/CONF. d/69-language-selector-*. conf, where * will change according to your locale. The modification method is the same as before.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.