Closed Bug 462660 Opened 16 years ago Closed 15 years ago

Firefox zoom speed depends on number of fonts installed

Categories

(Core :: Graphics, defect)

defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tsalacinski, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.0.3) Gecko/2008101315 Ubuntu/8.10 (intrepid) Firefox/3.0.3

I've noticed that Firefox zoom highly speed depends on number of installed fonts (see bug 410365). I am using Linux, and like on most Linux distributions, Firefox is working very slow.

I've noticed that it worked fine on Gentoo. Most Linux distributions come with a great number of fonts to support every language possible - when I've removed these, Firefox started to work normally. This is confirmed by few people (and by me). The reason why Firefox on Windows works fast is simple - Windows users have little number of fonts installed by default.

Firefox speed should not depend on number of fonts installed, there should be some kind of cache that caches the fonts while Firefox is running.

Reproducible: Always

Steps to Reproduce:
1. Just run Firefox on default Linux setup and see that it's working bad
Actual Results:  
Firefox works slow.

Expected Results:  
Firefox should work fast, like on Windows.

Removing the unneeded fonts helps a lot, this fixes the problem for me and few other people, but it's not a solution. Linux distributors will want to support every language possible, and Firefox users using non-latin languages are forced either to browse only websites in their own language or use slow Firefox (on Core2Duo 2.53ghz resizing Wikipedia by clicking once on zoom button takes 2 seconds! Resizing page to the desired size takes 15-20 seconds - that's not working properly, especially when on Windows it takes 1-2 seconds - it's 10 times slower).

I'm giving that Major because text zoom is Firefox' major feature, this bug exists on every OS and it just annoys and kills the comfort of surfing.
confirm
Hardware: PC → All
I confirm and it's high priority for me too. Please, consider distributions
such as openSUSE 11 can install 4000 fonts in /usr/share/fonts, that makes zoom
function requiring a few of seconds almost always on common web sites, unlike
in typical Windows enviroment.
Flags: blocking-firefox3.1?
Confirm.
--> Core::GFX:Thebes, carrying over blocking nomination
Component: General → GFX: Thebes
Flags: blocking-firefox3.1?
Product: Firefox → Core
QA Contact: general → thebes
I can confirm this on 64 bit Ubuntu 8.10, both repository and official builds.
Fixed in Firefox 3.5 release for me. Anyone can confirm and then close this bug?
Yes, right now it works perfectly!
Sorry, forgot to close the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.