Solve the font problem of opera

Source: Internet
Author: User
Solve the font problem of opera-general Linux technology-Linux technology and application information. The following is a detailed description. Opera is one of my favorite browsers. Small and fast. It also integrates the mail client and rss reader, and even the IRC client is ready for use. However, opera's font performance in linux is very strange. Maybe it's ready today and tomorrow it's going wrong.

1. First configure the font of X

2. Adjust the Fonts of Tools-> Preferences-> Advanced-> Fonts. These two steps are the most basic. If you solve the problem, you are lucky.

3. nano ~ /. Opera/styles/user/user.css
Html, body ,*{
Font-family: "STHeiti "! Important ;}

This is to set your own css. It may change the font on the page, but it does not work on the toolbar.

4. It is said that the problem can be solved by changing the font name. I have not tried this and it is not recommended to use it.

5. delete unused fonts. This is my method, because the previous ones do not work.

I used gentoo. Originally, opera was configured in the first two steps, but after a restart, the page and toolbar were all messy. Step 1 does not work, because the STHeiti I use does not load the root in opera.

It may be because of emerge xdm, so I moved/usr/share/fonts/corefonts to another place and recovered. Emerge is often required to use gentoo, and it is very likely that a new font will lead to an opera font error. Therefore, it may be necessary to clear corefonts frequently.

The font selection mechanism of opera is very strange and confusing. Therefore, step 4 is a mandatory approach, which may cause some problems, but it has not been found yet.

The above practices apply to opera9.24.

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.