Solve the problem of Fedora font deficiency, bold display and beautification

Source: Internet
Author: User
Article title: solves the problem of Fedora font deficiency, bold display and beautification. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
   1. the simplest "breaking the law"
  
1. add the fireflyfill font to Fdora. you can download it from the Internet or use arphic-uming to download it from any Debian mirror. The firefly dot matrix is also embedded.
  
2. decompress the package and copy fireflypattern. ttf or uming. ttf to/usr/share/fonts/chinese/TrueType.
  
3 desktop> Preferences> font: set all fonts to ap rl newlinks or ar pl ShanHeiSun Uni. select monochrome for font rendering, logout, and enjoy!
  
   2. further beautification
  
If you have high requirements on font display, for example, you need to perform more steps if you have bold characters.
  
Not much. Let's Go!
  
1 First, you need to mention the following points of attention:
  
A does not recommend that you use the ancient GTK + (GTK1) programs such as XMMS. Fedora is a release of fashion and bleeding, and old programs are used.
  
It is not in coordination with Fedora, so ttmkfdir/mkfontscale is not required to generate a font index or configure/etc/gtkrc. zh_CN,/etc/gtkrc. UTF-8. If you want to configure the old program that uses the core font system, add the font path to the Files Section of xorg. conf.
  
For example, FontPath "/path/to/fonts"
  
B should not make any changes to/etc/fonts. conf, because after the fontconfig package is upgraded next time, fonts. con will be replaced.
  
Should be modified in/etc/fonts/local. conf, if you use fontconfig-2.3.0 above should put the configuration in/etc/fonts/conf. d
  
(Put it in local in the old way. conf can also be) and uses a two-digit number as the first file name, such as:/etc/fonts/conf. d/10myfonts. conf,/etc/fonts/conf. d/20autohint. conf.
  
C new version of freetype (freetype-2.1.10) has a virtual bold algorithm, do not need to patch can have a bold display, you can upgrade it.
  
However, the new version of fontconfig (2.3.0 or later) and libXft (2.1.7) must be used together ). These will certainly be available in FC5, but now you have to upgrade it.
  
D. Since Linux is used, try not to use the unauthorized fonts simsun and simsunbd. (The WenQuanYi font, which will be released soon, is a good choice)
  
The English font of fireflytek is not very nice. You can use Hevetica or Bitsteam Vera in combination with fireflytek.
  
So first of all we need to re-arrange the font, the younger brother has upgraded the fontconfig-2.3.2, and the new configuration method is described. Or fontconfig-2.2.X
  
Yes, it is configured in local. conf.
  
Fedora already has the Hevetica font. it cannot be seen because the font path is not added to the configuration file.
  
Create a user-defined configuration file 10myfonts. conf under/etc/fonts/conf. d /.
  
The specific configuration and simple explanation can be seen below. the configuration is a non-AA display scheme. if you want to use AA, modify it on your own.
  
Code:
  
  
  
  
   /Usr/share/fonts
   /Usr/share/fonts/local
   /Usr/local/share/fonts
   ~ /. Fonts
  
   /Usr/X11R6/lib/X11/fonts
  
  
  
  
  
  
   100
  
  
  
   180
  
  
  
   True
  
  
  
  
  
  
  
   T
  
  
   Hintslight
  
  
  
   T
  
  
  
   False
  
  
  
  
  
  
  
   8
  
  
   17
  
  
   False
  
  
  
  
  
  
  
   Zh-tw
   Zh-cn
   Ja
   Ko
  
  
   Proportional
  
  
   False
  
  
  
  
  
  
   SimSun
   NSimSun
   SimHei
   Ar pl ShanHeiSun Uni
   Ar pl ZenKai Uni
   Ar pl New branch
   FZSongTi
   FZMingTiB
   FangSong_GB2312
   KaiTi_GB2312
  
  
   8
  
  
   12
  
  
   12
  
  
  
  
   Serif
  
   Times New Roman
   Nimbus Roman No9 L
   Luxi Serif
   Times
   Bitstream Vera Serif
   Simsun
   WenQuanYi Bitmap Song
   Ar pl ShanHeiSun Uni
   Ar pl ZenKai Uni
   Ar pl New branch
   FZSongTi
   FZMingTiB
   Kochi Mincho
   Ar pl SungtiL GB
   Ar pl Mingti2L Big5
   Baekmuk Batang
  
  
  
   Sans-serif
  
   Helvetica
   Verdana
   Arial
   Tahoma
   Bitstream Vera Sans
   SimSun
   WenQuanYi Bitmap Song
   Ar pl ShanHeiSun Uni
   Ar pl ZenKai Uni
   Ar pl New branch
   FZSongTi
   FZMingTiB
   Kochi Gothic
   Ar pl KaitiM GB
   Ar pl KaitiM Big5
   Baekmuk Dotum
  
  
  
  
   Monospace
  
   Courier
   Courier New
   Andale Mono
   Lu
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.