CentOS 修改系统字体 - XiZi's Blog
CentOS 修改系统字体
1、添加字体
#创建新的字体存放文件夹 mkdir /usr/share/fonts/chinese #拷贝新字体到新文件夹 cp newfont.ttf /usr/share/fonts/chinese cd /usr/share/fonts/chinese #修复字体字体权限(这里比较重要,否则可能字体访问出错) chmod 644 *.ttf #更新字体 mkfontscale mkfontdir fc-cache -fv
2、配置字体,下面是/etc/fonts/local.conf的一个示例,这里替换字体为微软雅黑
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="pattern"> <test qual="any" name="family"> <string>serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>DejaVu Serif</string> <string>YaHei Consolas Hybrid</string> <string>AR PL UMing CN</string> <string>AR PL ShanHeiSun Uni</string> <string>WenQuanYi Bitmap Song</string> <string>Bitstream Vera Serif</string> <string>AR PL UKai CN</string> <string>AR PL ZenKai Uni</string> </edit> </match> <match target="pattern"> <test qual="any" name="family"> <string>sans-serif</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>DejaVu Sans</string> <string>YaHei Consolas Hybrid</string> <string>Bitstream Vera Sans</string> <string>WenQuanYi Zen Hei</string> <string>AR PL UMing CN</string> <string>AR PL ShanHeiSun Uni</string> <string>WenQuanYi Bitmap Song</string> <string>AR PL UKai CN</string> <string>AR PL ZenKai Uni</string> </edit> </match> <match target="pattern"> <test qual="any" name="family"> <string>monospace</string> </test> <edit name="family" mode="prepend" binding="strong"> <string>DejaVu Sans Mono</string> <string>YaHei Consolas Hybrid</string> <string>Bitstream Vera Sans Mono</string> <string>WenQuanYi Zen Hei</string> <string>AR PL UMing CN</string> <string>AR PL ShanHeiSun Uni</string> <string>WenQuanYi Bitmap Song</string> <string>AR PL UKai CN</string> <string>AR PL ZenKai Uni</string> </edit> </match> </fontconfig>
2020年8月09日 20:55
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info 메이저사이트
2020年8月09日 21:12
Great post full of useful tips! My site is fairly new and I am also having a hard time getting my readers to leave comments. Analytics shows they are coming to the site but I have a feeling “nobody wants to be first”. entrepreneur visa canada
2020年9月05日 00:57
Thanks for sharing this interesting blog with us.My pleasure to being here on your blog..I wanna come beck here for new post from your site. house shifting Services
2020年9月27日 20:04
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. The Florence Residences Floorplan
2020年9月29日 04:47
Your post has those facts which are not accessible from anywhere else. It’s my humble request to u please keep writing such remarkable articles The Florence Residences Price List
2020年9月30日 22:43
I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. penrose condo
2020年9月30日 22:49
I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. <a href="https://www.the-19nassim.com/">19 nassim condo</a>
2020年9月30日 22:49
I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. 19 nassim condo
2020年9月30日 22:51
Thanks for sharing nice information with us. I like your post and all you share with us is up to date and quite informative, I would like to bookmark the page so I can come here again to read you, as you have done a wonderful job. parc central residences ec
2020年9月30日 22:54
Interesting post. I Have Been wondering about this issue. so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks clavon showflat
2020年9月30日 22:58
Great article with excellent idea!Thank you for such a valuable article. I really appreciate for this great information.. midtown modern condo
2020年9月30日 23:01
It was a decent post to be sure. I completely delighted in understanding it in my lunch time. Will definitely come and visit this blog all the more frequently. Much obliged for sharing. klimt cairnhill condo
2020年9月30日 23:04
The first phase the preparation should, theoretically, be uninfluenced by the intended intensity and duration of the sound which is subsequently produced. In fact, however, so quickly are the three phases accomplished that the pianist rarely has capacity to think, in performance, of each phase separately. liv @ mb condo
2020年9月30日 23:14
The first phase the preparation should, theoretically, be uninfluenced by the intended intensity and duration of the sound which is subsequently produced. In fact, however, so quickly are the three phases accomplished that the pianist rarely has capacity to think, in performance, of each phase separately. ryse residences condo
2020年9月30日 23:20
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. one north gateway condo
2020年9月30日 23:23
I truly awed after read this in light of some quality work and educational contemplations . I just wanna express profound gratitude for the essayist and want you to enjoy all that life has to offer for coming!. <a href="https://www.perfecttencondo.com/">perfect ten condo price</a>
2020年9月30日 23:26
Excellent article plus its information and I positively bookmark to this site because here I always get an amazing knowledge as I expect. Thanks for this to share with us dairy farm residences price
2020年10月02日 01:34
Great post. I was checking continuously this blog and I am impressed! Extremely useful info particularly the last part :) navigate here
2020年10月03日 23:03
I hope you will share such type of impressive contents again with us so that we can utilize it and get more advantage. voyance par texto
2020年10月04日 06:00
So luck to come across your excellent blog. Your blog brings me a great deal of fun.. Good luck with the site. meilleure voyance sans cb
2020年10月08日 00:35
Great post full of useful tips! My site is fairly new and I am also having a hard time getting my readers to leave comments. Analytics shows they are coming to the site but I have a feeling “nobody wants to be first”. joker123
2020年10月08日 01:31
I needed to thank you for this incredible read!! I unquestionably adored each and every piece of it. I have you bookmarked your site to look at the new stuff you post. Daftar joker123
2020年10月12日 22:05
So luck to come across your excellent blog. Your blog brings me a great deal of fun.. Good luck with the site. liteblue usps login
2020年10月12日 23:09
It is imperative that we read blog post very carefully. I am already done it and find that this post is really amazing. lite blue
2020年10月25日 23:19 Particular interviews furnish firsthand message on mart size, industry trends, ontogeny trends, capitalist landscape and outlook, etc. car loan automotive finance 20
2020年10月26日 00:56
Visit our site to find more about wedding photographer Northern Virginia. We offer engagement and proposal photography in Va. used car buying advice
2020年10月31日 20:03
Someone essentially lend a hand to make critically articles I would state. This is the first time I frequented your website page and to this point? mypickandmix.co.uk
2020年11月02日 02:28
Hmm!! This blog is really cool, I’m so lucky that I have reached here and got this awesome information. True Classic Tees
2020年11月10日 02:13
I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. Clenbuterol online
2020年11月15日 00:38
Thanks for sharing this interesting blog with us.My pleasure to being here on your blog..I wanna come beck here for new post from your site. houston embroidery service
2020年12月01日 05:13
It certainly is nearly close to impossible to come across well-advised viewers on this niche, but you come across as like you fully grasp those things you’re covering! Excellent Luxury Rehabs California
2020年12月07日 04:16
This is very smart, really an intelligent idea. This is my first time in your blog and I really love it. Thanks for this awesome post. Low-Cost Health Insurance
2020年12月08日 22:59
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. https://georgia.travel/community/discussion/general/the-ultimate-guide-to-wear-stylish-hats-1
2022年8月20日 23:42
Rajasthan Board Model Paper 2023 Class 4 Pdf Download with Answers for Rajasthani Medium, English Medium, Hindi Medium, Urdu Medium & Students for Small Answers, Long Answer, Very Long Answer Questions, and Essay Type Questions to Term1 & Term2 Exams at official website. Rajasthan Board Model Paper Class 4 New Exam Scheme or Question Pattern for Sammittive Assignment Exams (SA1 & SA2): Very Long Answer (VLA), Long Answer (LA), Small Answer (SA), Very Small Answer (VSA), Single Answer, Multiple Choice and etc.
2022年8月21日 00:44
Check for testimonials or reviews from satisfied customers and do some background research on the company to make sure there aren't any shady dealings going on. dark web links
2022年8月21日 01:46
So are there really reliable sites where you can find dark web links and make money? The answer is yes but proceed with caution. deep web
2022年8月21日 02:06
So what can we do about this question, can I make money on dark web sites? You can't actually make money through links. It's like a pyramid scheme where you have to pay for every member you recruit. dark web sites
2022年8月21日 02:32
However, it's not a guarantee that you will get links from these directories and hence, you might have to pay for the links that you have provided. dark web links
2022年8月21日 02:50
Making money through links works by linking to other websites and when your link is clicked, the people who come across your links will end up at your website. dark web
2022年8月21日 03:07
If you are going to learn how to succeed with affiliate marketing, the first thing you need to do is find an area of interest. work from home jobs
2022年8月21日 03:25
Once you have found sellers of these items, it will be necessary for you to arrange some sort of payment system so that your site visitors will be able to readily purchase the products or services you have chosen. affiliate marketing success
2023年1月04日 17:59
If you want to modify the system font on your CentOS machine, you'll need to edit the fontconfig configuration file. You can find this file at /etc/fonts/fontconfig.conf. In the file, you'll need to find the "font" section and modify the "family" and "alias" values. For example, to change the system font toGeorgia, you would modify the lines like this: font { family:Georgia alias: Georgia } After CBD products you save the file, the new font will be applied system-wide.