Solution to failure to display Chinese Characters in PDF files on Ubuntu

Source: Internet
Author: User

Ubuntu has a PDF file reader (evince). It is a very good software with a small size, Fast startup speed, and comprehensive functions. However, for some documents without built-in Chinese fonts, evince usually cannot display Chinese characters.

Of course there are many solutions, such as installing another reader, such as Adobe Reader for Linux and kpdf, which may solve this problem. But the problem is not the reader itself, but the system lacks some library and configuration.

The evince background uses xpdf for string processing. Therefore, you need to install corresponding Chinese support. By default, the system does not install the software package, which causes the above problems. You can try the following:

1. sudo apt-Get install xpdf-Chinese-Simplified
2. sudo apt-Get install xpdf-Chinese-traditional (optional)

If Chinese characters cannot be correctly displayed, the toolkit shown below may be missing:

1. sudo apt-Get install poppler-utils
2. sudo apt-Get install poppler-Data

I directly installed poppler-data, because evince is said to be based on poppler, some PDF files generated using latex need to install poppler-data,

Sudo apt-Get install poppler-Data

Then everything is normal.

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.