No longer blame linux for slow web page rendering

Source: Internet
Author: User
No longer blame linux for slow web page rendering-Linux general technology-Linux technology and application information. The following is a detailed description. Previously, I often blamed linux for poor browser rendering speed, and even gave rise to the idea of returning to windows for a while.

Today, I have discovered the reason why browsers in windows are a little faster.

The problem is that the font anti-sawtooth!

  

(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // farm4.static.flickr.com/3256/2649712276_c3bd5509f2_m.jpg'); ">

In windows, font drawing is provided by gdi32.dll, including a dot matrix mode without sampling and a bad anti-tooth mode. For a long time, the anti-aliasing capability of windows fonts has always been lower than that of linux and mac OS, so that the backward dot matrix song is still used as the main Chinese font and has created (very large) A bunch of aesthetic idiots who prefer dot matrix words.

I remember that before vista was launched, Microsoft planned to add higher-quality font AA support. Later, it left behind Microsoft ya, a half-hanging one (but it was cheaper to use mac and linux, is brilliant in these two systems ).

Today, when I was on the Internet, I saw a file called gdi ++. dll software, the Japanese replacement for gdi32.dll uses 4x anti-sawtooth-rendering the font to 4 times the size needed in the buffer for sampling. The result is that after using this dll, the font anti-aliasing of the program has finally achieved some effect, but because the sub-pixel fine-tuning is not used, the final effect is still different from that of linux and mac OS. I immediately tried to open opera, and the results were disappointing. fonts without fine-tuning were still terrible. More importantly, the scrolling speed became quite slow, which seriously affected the use of opera. In contrast, the linux Browser leads the way with overwhelming advantages. I tried ie again, and the result was disappointing. in windows, no browser can draw at a speed that can catch up with the same path in linux after using gdi ++. dll.

It seems that ms has not added the promised Advanced Font AA control to vista, which is probably the performance reason.
Related Article

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.