Install a small Web browser Dillo in Ubuntu and display Chinese Characters

Source: Internet
Author: User

Dillo, a small Web browser (the source code is about 420 KB, And the binary program is about KB .), Follow the GPL protocol. It is written in C language and uses GTK + toolkit. This browser is especially suitable for running on old computers and embedded systems.

Dillo currently does not support CSS or JavaScript, and has limited support for frameworks.

Because GTK + 2 features have greatly changed and do not meet the requirements of Dillo "short and refined", Dillo switched to FLTK2 as the graphic toolkit. At present, the work from porting to FLTK2 has been almost completed (see external link 2) Some UNIX/Linux Release versions, including Debian, RedHat, NetBSD, and other installation packages with Dillo, some Small Linux systems, including Damn Small Linux and Feather Linux, use Dillo as the main browser.

Dillo is lightweight and fast. Generally, after dillo is installed, Chinese characters cannot be correctly displayed. Okay. Just modify the font in the configuration file.

1. Install dillo and wenquanyi Chinese Fonts

Sudo apt-get install dillo

Sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy

2. Copy the configuration file in the root directory to the mkdir ~ home directory ~ /. Dillocp/etc/dillo/dillorc ~ /. Dillosudo chmod a + w ~ /. Dillo/dillorc

3. Modify the font and find the second part of the configuration file. Add the following content in rendering section:

Font_serif = "文"
Font_sans_serif = "文"
Font_cursive = "文"
Font_fantasy = "文"
Font_monospace = "文"

You can also change all fonts to "Sans.

Adding vw-fontname and fw_fontname does not seem to work.

Attach my configured file. Decompress the package directly ~ /. Dillo/OK

Free in http://linux.bkjia.com/

The username and password are both www.bkjia.com

The download directory contains the Dillo file of the small Web browser installed on/August 15,/August 11,/Ubuntu and displays Chinese characters.

For the download method, see

----------------------- Other methods -----------------------

Some say that the system comes with "wenquanyi zhenghei", but the display of Chinese characters is garbled, and it is normal to use.

Also

Modify fontname and add the following five lines of code:

Font_serif = "Serif"
Font_sans_serif = "Sans"
Font_cursive = "Sans"
Font_fantasy = "Sans"
Font_monospace = "Sans Mono"

Dillo can display Chinese characters normally.

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.