Ubuntu10.10 document viewer PDF Chinese garbled Problem

Source: Internet
Author: User

Garbled Chinese characters appear when you use document Viewer (2.24.1) to view PDF files in ubuntu10.10
1. Modify the ACL of the font setting file in terminal and enter sudo chmod 777/etc/fonts/CONF. d/49-sansserif.conf.

2. In terminal, enter sudo gedit/etc/fonts/CONF. d/49-sansserif.conf and modify the font setting to OK.

For example, I changed the font of the last and fourth lines to the font of Chinese characters.
<? XML version = "1.0"?>
<! Doctype fontconfig System "fonts. DTD">
<! --
If the font still has no generic name, add sans-serif
<Match target = "pattern">
<Test qual = "all" name = "family" compare = "not_eq">
<String> sans-serif </string>
<Test qual = "all" name = "family" compare = "not_eq">
<String> serif </string>
<Test qual = "all" name = "family" compare = "not_eq">
<String> monospace </string>
<Edit name = "family" mode = "append_last">
<String> wenquanyi zhenghei </string>

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.