The Evince Chinese character display box in Ubuntu10.04 or cannot be displayed

Source: Internet
Author: User
The Evince Chinese character display box in Ubuntu10.04 cannot be displayed. Evince was originally a simple document viewer in The GNOME environment, but it is good to read PDF-format e-books. Although Evince does not have Adobe's own batch batreader, it has the advantages of fast execution and low resource usage. Compared with the Xpdf of another "antique-level" in the system, the appearance of the interface should naturally be eye-catching and easy to use. Now, the real

The Evince Chinese character display box in Ubuntu 10.04 or cannot be displayed. Evince was originally a simple document viewer in The GNOME environment, but it is good to read PDF-format e-books. Although Evince does not have Adobe's Acrobat Reader, it has the advantages of fast execution and low resource usage. Compared with the Xpdf of another antique-level system, the appearance of the interface should naturally be eye-catching and easy to use. Now, it seems that we are the best choice for our family.

Evince supports reading PDF documents in multiple languages, including English and Chinese. I personally think it is better than Xpdf. Moreover, it can be used as an alternative to Acrobat Reader for users who are pursuing speed. If you have this need, try again.

In two steps:

1. apt-get install poppler-data

Contains cmap-adobe-gb1

CMap files for Adobe-GB character collection, which stands for Adobe-defined one, and including standard Simplified-Chinese charsets.


2. edit/etc/fonts/conf. d/49-sansserif.conf







Sans-serif


Serif


Monospace



Wenquanyi zhenghei


Pay attention to the red font and change it to the expected Chinese font name.

Open the PDF file.

In fact, you do not need to change/etc/fonts/conf. d/49-sansserif.conf, and change/etc/fonts/conf. d/69-language-selector-zh-cn.conf: Advance the expected Chinese characters in the sansserif field.
The final 69-language-selector-zh-cn.conf file content may be as follows:




Serif


DejaVu Serif
Bitstream Vera Serif
HYSong
Ar pl UMing CN
Ar pl UMing HK
Ar pl ShanHeiSun Uni
Ar pl New branch
WenQuanYi Bitmap Song
Ar pl UKai CN
Ar pl ZenKai Uni




Sans-serif


WenQuanYi Zen Hei
WenQuanYi Micro Hei
DejaVu Sans
Bitstream Vera Sans
Droid Sans Fallback
HYSong
Ar pl UMing CN
Ar pl UMing HK
Ar pl ShanHeiSun Uni
Ar pl New branch
Ar pl UKai CN
Ar pl ZenKai Uni




Monospace


DejaVu Sans Mono
Bitstream Vera Sans Mono
WenQuanYi Micro Hei Mono
WenQuanYi Zen Hei Mono
Droid Sans Fallback
HYSong
Ar pl UMing CN
Ar pl UMing HK
Ar pl ShanHeiSun Uni
Ar pl New branch
Ar pl UKai CN
Ar pl ZenKai Uni

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.