How do I change the default Chinese font? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Unity Tweak Tool Schema Missing com.canonical.desktop.interfaceSet default Japanese font“门” looks weird on my system default fontWhat's the default traditional Chinese font?Why is Chinese text displaying strangely?How do I set default font for Amharic on Ubuntu?Ugly LibreOffice fontSet default Japanese fontHow does Chromium browser select its default sans serif font?Wine font rendering differenceset fallback font for default serif and sans-serifFallback icon strategy freetype2won't render chinese characters in txt files
What's the meaning of 間時肆拾貳 at a car parking sign
How do I stop a creek from eroding my steep embankment?
Is it fair for a professor to grade us on the possession of past papers?
Why aren't air breathing engines used as small first stages
Coloring maths inside a tcolorbox
When were vectors invented?
How to answer "Have you ever been terminated?"
Resolving to minmaj7
How to find all the available tools in mac terminal?
Can an alien society believe that their star system is the universe?
Abandoning the Ordinary World
Why light coming from distant stars is not discreet?
How widely used is the term Treppenwitz? Is it something that most Germans know?
Why did the Falcon Heavy center core fall off the ASDS OCISLY barge?
What is Wonderstone and are there any references to it pre-1982?
Bete Noir -- no dairy
Error "illegal generic type for instanceof" when using local classes
Echoing a tail command produces unexpected output?
How come Sam didn't become Lord of Horn Hill?
In predicate logic, does existential quantification (∃) include universal quantification (∀), i.e. can 'some' imply 'all'?
ListPlot join points by nearest neighbor rather than order
What exactly is a "Meth" in Altered Carbon?
How does debian/ubuntu knows a package has a updated version
How can I make names more distinctive without making them longer?
How do I change the default Chinese font?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Unity Tweak Tool Schema Missing com.canonical.desktop.interfaceSet default Japanese font“门” looks weird on my system default fontWhat's the default traditional Chinese font?Why is Chinese text displaying strangely?How do I set default font for Amharic on Ubuntu?Ugly LibreOffice fontSet default Japanese fontHow does Chromium browser select its default sans serif font?Wine font rendering differenceset fallback font for default serif and sans-serifFallback icon strategy freetype2won't render chinese characters in txt files
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've installed two Chinese fonts from the repos: UMing and UKai. I like better how UKai looks, but the default font picked by Ubuntu (when selecting a non-Chinese font) is UMing. For example, my desktop font is Droid Sans, but the Chinese caracters are picked from UMing.
How can I choose UKai for the default Chinese font?
P.S. If I just change the desktop font to UKai, I won't get the Droid Sans latin characters, so that's not a solution.
fonts default chinese
add a comment |
I've installed two Chinese fonts from the repos: UMing and UKai. I like better how UKai looks, but the default font picked by Ubuntu (when selecting a non-Chinese font) is UMing. For example, my desktop font is Droid Sans, but the Chinese caracters are picked from UMing.
How can I choose UKai for the default Chinese font?
P.S. If I just change the desktop font to UKai, I won't get the Droid Sans latin characters, so that's not a solution.
fonts default chinese
add a comment |
I've installed two Chinese fonts from the repos: UMing and UKai. I like better how UKai looks, but the default font picked by Ubuntu (when selecting a non-Chinese font) is UMing. For example, my desktop font is Droid Sans, but the Chinese caracters are picked from UMing.
How can I choose UKai for the default Chinese font?
P.S. If I just change the desktop font to UKai, I won't get the Droid Sans latin characters, so that's not a solution.
fonts default chinese
I've installed two Chinese fonts from the repos: UMing and UKai. I like better how UKai looks, but the default font picked by Ubuntu (when selecting a non-Chinese font) is UMing. For example, my desktop font is Droid Sans, but the Chinese caracters are picked from UMing.
How can I choose UKai for the default Chinese font?
P.S. If I just change the desktop font to UKai, I won't get the Droid Sans latin characters, so that's not a solution.
fonts default chinese
fonts default chinese
asked Oct 30 '11 at 5:02
Arturo Torres SánchezArturo Torres Sánchez
16219
16219
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Unfortunately, there isn't a GUI configuration editor for you to use to deal with this problem under Ubuntu. The GUI font selectors under Gnome or Unity only allows you to select one font per option, while the Font Manager allows you to enable/disable fonts only.
But, as is the typical case of a Linux system, you actually can configure this, only you'll need to dig up the configuration option from lots of documentations.
Now, straight to the point: you'll need to edit/create the file ~/.fonts.conf
.
- The file does not exist by default. However, if you've used things like Font Manager, then there might be a placeholder file at
~/.fonts.conf
telling you to use~/.config/font-manager/local.conf
instead, in which case you should create the latter. - You should first open
~/.fonts.conf
to check. - To check if the file exists, a simple way would be to open the file manager, go to "Home", check "View->Show Hidden Files" and see if you can find
.fonts.conf
.
Once you've created the file, put the following code in it:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Droid Sans</family>
<family>UKai</family>
</prefer>
</alias>
</fontconfig>
What it does is create a font resolution fallback list. When a program is requesting a sans-serif font (most GUI fonts are sans-serif by default), the system would try to use the first font (Droid Sans) for a character. If the font does not support that character, the second (UKai) will be used. I'm not sure if specifying Droid Sans as the first preference has any significance, but you might as well keep it, just to be safe.
Note also that you'll need to logout of your account and login again to see the effect.
For me, the effect is immediate after logging out and logging in again, and the font choice works system-wide.
The above answer is based on a related blog post: Fedora 中文字体设置
Edit
There is also a more comprehensive configuration sample under /etc/fonts/conf.avail
or /etc/fonts/conf.d
(I don't remember exactly which) whose name contains zh-CN
. Inside is a set of configuration used for adjusting the exact fallback font order, which is far more suitable than the above method. Just copy the content in the file into ~/.fonts.conf
or ~/.config/font-manager/local.conf
and change the ordering of fonts to suit your needs.
add a comment |
Since Ubuntu has changed a lot (with latest version of 18.0.4 lts). I have found this blog (in Chinese, assume you are a Chinese Reader, otherwise why would you be so fuzz about Chinese, haha).
Basically it copy some windows font from the sub system, and using
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
to update create a ubuntu-recognizable font files and load them into system cache.
Finally with the help of unity tweak tool to change the system font appearance.
You might encounter some The following schema is missing issue.
Hope this answer could solve the problem for you guys. And may be in following release of Ubuntu they could pick some nicer fonts.
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f73721%2fhow-do-i-change-the-default-chinese-font%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Unfortunately, there isn't a GUI configuration editor for you to use to deal with this problem under Ubuntu. The GUI font selectors under Gnome or Unity only allows you to select one font per option, while the Font Manager allows you to enable/disable fonts only.
But, as is the typical case of a Linux system, you actually can configure this, only you'll need to dig up the configuration option from lots of documentations.
Now, straight to the point: you'll need to edit/create the file ~/.fonts.conf
.
- The file does not exist by default. However, if you've used things like Font Manager, then there might be a placeholder file at
~/.fonts.conf
telling you to use~/.config/font-manager/local.conf
instead, in which case you should create the latter. - You should first open
~/.fonts.conf
to check. - To check if the file exists, a simple way would be to open the file manager, go to "Home", check "View->Show Hidden Files" and see if you can find
.fonts.conf
.
Once you've created the file, put the following code in it:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Droid Sans</family>
<family>UKai</family>
</prefer>
</alias>
</fontconfig>
What it does is create a font resolution fallback list. When a program is requesting a sans-serif font (most GUI fonts are sans-serif by default), the system would try to use the first font (Droid Sans) for a character. If the font does not support that character, the second (UKai) will be used. I'm not sure if specifying Droid Sans as the first preference has any significance, but you might as well keep it, just to be safe.
Note also that you'll need to logout of your account and login again to see the effect.
For me, the effect is immediate after logging out and logging in again, and the font choice works system-wide.
The above answer is based on a related blog post: Fedora 中文字体设置
Edit
There is also a more comprehensive configuration sample under /etc/fonts/conf.avail
or /etc/fonts/conf.d
(I don't remember exactly which) whose name contains zh-CN
. Inside is a set of configuration used for adjusting the exact fallback font order, which is far more suitable than the above method. Just copy the content in the file into ~/.fonts.conf
or ~/.config/font-manager/local.conf
and change the ordering of fonts to suit your needs.
add a comment |
Unfortunately, there isn't a GUI configuration editor for you to use to deal with this problem under Ubuntu. The GUI font selectors under Gnome or Unity only allows you to select one font per option, while the Font Manager allows you to enable/disable fonts only.
But, as is the typical case of a Linux system, you actually can configure this, only you'll need to dig up the configuration option from lots of documentations.
Now, straight to the point: you'll need to edit/create the file ~/.fonts.conf
.
- The file does not exist by default. However, if you've used things like Font Manager, then there might be a placeholder file at
~/.fonts.conf
telling you to use~/.config/font-manager/local.conf
instead, in which case you should create the latter. - You should first open
~/.fonts.conf
to check. - To check if the file exists, a simple way would be to open the file manager, go to "Home", check "View->Show Hidden Files" and see if you can find
.fonts.conf
.
Once you've created the file, put the following code in it:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Droid Sans</family>
<family>UKai</family>
</prefer>
</alias>
</fontconfig>
What it does is create a font resolution fallback list. When a program is requesting a sans-serif font (most GUI fonts are sans-serif by default), the system would try to use the first font (Droid Sans) for a character. If the font does not support that character, the second (UKai) will be used. I'm not sure if specifying Droid Sans as the first preference has any significance, but you might as well keep it, just to be safe.
Note also that you'll need to logout of your account and login again to see the effect.
For me, the effect is immediate after logging out and logging in again, and the font choice works system-wide.
The above answer is based on a related blog post: Fedora 中文字体设置
Edit
There is also a more comprehensive configuration sample under /etc/fonts/conf.avail
or /etc/fonts/conf.d
(I don't remember exactly which) whose name contains zh-CN
. Inside is a set of configuration used for adjusting the exact fallback font order, which is far more suitable than the above method. Just copy the content in the file into ~/.fonts.conf
or ~/.config/font-manager/local.conf
and change the ordering of fonts to suit your needs.
add a comment |
Unfortunately, there isn't a GUI configuration editor for you to use to deal with this problem under Ubuntu. The GUI font selectors under Gnome or Unity only allows you to select one font per option, while the Font Manager allows you to enable/disable fonts only.
But, as is the typical case of a Linux system, you actually can configure this, only you'll need to dig up the configuration option from lots of documentations.
Now, straight to the point: you'll need to edit/create the file ~/.fonts.conf
.
- The file does not exist by default. However, if you've used things like Font Manager, then there might be a placeholder file at
~/.fonts.conf
telling you to use~/.config/font-manager/local.conf
instead, in which case you should create the latter. - You should first open
~/.fonts.conf
to check. - To check if the file exists, a simple way would be to open the file manager, go to "Home", check "View->Show Hidden Files" and see if you can find
.fonts.conf
.
Once you've created the file, put the following code in it:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Droid Sans</family>
<family>UKai</family>
</prefer>
</alias>
</fontconfig>
What it does is create a font resolution fallback list. When a program is requesting a sans-serif font (most GUI fonts are sans-serif by default), the system would try to use the first font (Droid Sans) for a character. If the font does not support that character, the second (UKai) will be used. I'm not sure if specifying Droid Sans as the first preference has any significance, but you might as well keep it, just to be safe.
Note also that you'll need to logout of your account and login again to see the effect.
For me, the effect is immediate after logging out and logging in again, and the font choice works system-wide.
The above answer is based on a related blog post: Fedora 中文字体设置
Edit
There is also a more comprehensive configuration sample under /etc/fonts/conf.avail
or /etc/fonts/conf.d
(I don't remember exactly which) whose name contains zh-CN
. Inside is a set of configuration used for adjusting the exact fallback font order, which is far more suitable than the above method. Just copy the content in the file into ~/.fonts.conf
or ~/.config/font-manager/local.conf
and change the ordering of fonts to suit your needs.
Unfortunately, there isn't a GUI configuration editor for you to use to deal with this problem under Ubuntu. The GUI font selectors under Gnome or Unity only allows you to select one font per option, while the Font Manager allows you to enable/disable fonts only.
But, as is the typical case of a Linux system, you actually can configure this, only you'll need to dig up the configuration option from lots of documentations.
Now, straight to the point: you'll need to edit/create the file ~/.fonts.conf
.
- The file does not exist by default. However, if you've used things like Font Manager, then there might be a placeholder file at
~/.fonts.conf
telling you to use~/.config/font-manager/local.conf
instead, in which case you should create the latter. - You should first open
~/.fonts.conf
to check. - To check if the file exists, a simple way would be to open the file manager, go to "Home", check "View->Show Hidden Files" and see if you can find
.fonts.conf
.
Once you've created the file, put the following code in it:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Droid Sans</family>
<family>UKai</family>
</prefer>
</alias>
</fontconfig>
What it does is create a font resolution fallback list. When a program is requesting a sans-serif font (most GUI fonts are sans-serif by default), the system would try to use the first font (Droid Sans) for a character. If the font does not support that character, the second (UKai) will be used. I'm not sure if specifying Droid Sans as the first preference has any significance, but you might as well keep it, just to be safe.
Note also that you'll need to logout of your account and login again to see the effect.
For me, the effect is immediate after logging out and logging in again, and the font choice works system-wide.
The above answer is based on a related blog post: Fedora 中文字体设置
Edit
There is also a more comprehensive configuration sample under /etc/fonts/conf.avail
or /etc/fonts/conf.d
(I don't remember exactly which) whose name contains zh-CN
. Inside is a set of configuration used for adjusting the exact fallback font order, which is far more suitable than the above method. Just copy the content in the file into ~/.fonts.conf
or ~/.config/font-manager/local.conf
and change the ordering of fonts to suit your needs.
edited Dec 5 '11 at 4:08
answered Nov 25 '11 at 15:02
InterarticleInterarticle
1662
1662
add a comment |
add a comment |
Since Ubuntu has changed a lot (with latest version of 18.0.4 lts). I have found this blog (in Chinese, assume you are a Chinese Reader, otherwise why would you be so fuzz about Chinese, haha).
Basically it copy some windows font from the sub system, and using
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
to update create a ubuntu-recognizable font files and load them into system cache.
Finally with the help of unity tweak tool to change the system font appearance.
You might encounter some The following schema is missing issue.
Hope this answer could solve the problem for you guys. And may be in following release of Ubuntu they could pick some nicer fonts.
New contributor
add a comment |
Since Ubuntu has changed a lot (with latest version of 18.0.4 lts). I have found this blog (in Chinese, assume you are a Chinese Reader, otherwise why would you be so fuzz about Chinese, haha).
Basically it copy some windows font from the sub system, and using
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
to update create a ubuntu-recognizable font files and load them into system cache.
Finally with the help of unity tweak tool to change the system font appearance.
You might encounter some The following schema is missing issue.
Hope this answer could solve the problem for you guys. And may be in following release of Ubuntu they could pick some nicer fonts.
New contributor
add a comment |
Since Ubuntu has changed a lot (with latest version of 18.0.4 lts). I have found this blog (in Chinese, assume you are a Chinese Reader, otherwise why would you be so fuzz about Chinese, haha).
Basically it copy some windows font from the sub system, and using
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
to update create a ubuntu-recognizable font files and load them into system cache.
Finally with the help of unity tweak tool to change the system font appearance.
You might encounter some The following schema is missing issue.
Hope this answer could solve the problem for you guys. And may be in following release of Ubuntu they could pick some nicer fonts.
New contributor
Since Ubuntu has changed a lot (with latest version of 18.0.4 lts). I have found this blog (in Chinese, assume you are a Chinese Reader, otherwise why would you be so fuzz about Chinese, haha).
Basically it copy some windows font from the sub system, and using
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
to update create a ubuntu-recognizable font files and load them into system cache.
Finally with the help of unity tweak tool to change the system font appearance.
You might encounter some The following schema is missing issue.
Hope this answer could solve the problem for you guys. And may be in following release of Ubuntu they could pick some nicer fonts.
New contributor
New contributor
answered 14 mins ago
TypingPandaTypingPanda
101
101
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f73721%2fhow-do-i-change-the-default-chinese-font%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown