Solve the problem of Chinese font display in Mac version Firefox

Source: Internet
Author: User

The two days are plagued by Firefox's Chinese font display problems under the Mac. In Firefox, set the Sans-serif font to the SIMSUN-EXTB (new Arial) or English font (this will use the Mac default Chinese font), as shown in the following figure:

When browsing the website of the garden, the Chinese fonts displayed are strange and ugly, see the picture below. The same settings in Chrome, the fonts displayed are completely different.

(the image shown in Firefox shows the effect)

(The above image shows the effect in chrome)

Baffled, and then went to Apple's official website looked at, found that there is no such problem, carefully observed, and found the difference between the HTML:

Then in our website page add lang= "ZH-CN", the problem is solved.

<! DOCTYPE html>

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/soft/tools/

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.