Emacs font configuration in Linux

Source: Internet
Author: User
Emacs font configuration in Linux-general Linux technology-Linux technology and application information. For details, refer to the following section. The emacs font in linux is no longer a day or two. Today we finally got it done. Use the Chinese open source font wenquanyi. The results are still very good. Don't use simsun any more.

Installation steps:

1. Install the wenquanyi font, which has been installed by default in F8. If you want to install it manually, run yum-y install wqy-bitmap-fonts.

2. Run fc-list to check whether "Wenquanyi Bitmap Song" is listed. If not, run fc-cache.

3. Execute xlsfonts to check whether there are items similar to '-wenquanyi bitmap song-medium-r-normal -- 0-0-75-75-p-0-gbk-0'. If not, add the path:
Xset + fp/usr/share/fonts/wenquanyi/bitmap

2nd items are for the xft system, and 3rd items are for the X core font system.

The current emacs uses the core font by default. Therefore, if your emacs does not use xft, you can simply follow step 1.

Finally, add these configurations to. emacs:
QUOTE:
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.