Red Hat Bugzilla – Bug 374251
justified text rendering very slow
Last modified: 2007-11-30 17:12:21 EST
Create a page with lots of text with style="text-align: justify;"
It's really slow to render on 18.104.22.168 (F8) compared to 22.214.171.124 (F7).
Would this be anything to do with new justification support in pango?
Could you provide some URL where this bug is reproducible, so that we can test
(echo '<html><body><div style="text-align: justify;">'; yes whatever | head
-10000; echo '</div></body></html>') > slow.html
Scrolling is also horrendously slow.
Change the 'justify' above to 'left' to see the speed difference.
Hmm, firefox 126.96.36.199 on gutsy has the same slow down, but not just as bad I think.
An old possibly related mozilla bug:
I agree, with comment 3. This bug has been already registered in the upstream
database (https://bugzilla.mozilla.org/show_bug.cgi?id=302968) and believe that
it is more appropriate to let it be resolved upstream.
Red Hat will continue to track the issue in the centralized upstream bug
tracker, and will review any bug fixes that become available for consideration
in future updates.
Thank you for the bug report.
Err you closed that a bit quickly I think.
I only noticed this since Fedora 8, so it may
be a confluence of various factors.
I did a bit of looking around and comparing firefox 1.0.8 on ubuntu 5.10,
that was slower at left justified than ff-188.8.131.52 but much faster at justified.
I also tried different fonts and the default F8 font of Deja Vu
is the slowest by a fair margin. liberation is not too bad.
Microsoft fonts like Calibri are a bit faster again.
Also there was no comment on the recently pango justification support.
I'm unsure hang pango fits into firefox so that might be totally off base.
I just tried firefox 184.108.40.206 on windows and there is no noticeable
delay at all in scrolling justified text.
I also notice that general.smoothscroll is on by default on ff on Fedora 8
at least, which slows things down a little more.
The rest of my GUI is very fast, running the latest intel X driver
Padraig, I am not saying that there is no bug here, but that we have no
resources to deal with it inside of Red Hat, so if you want to investigate it
further your comments will be certainly welcome in the upstream bug. When that
is resolved upstream, we will get the fix with the next release of Firefox.
Commenting here is probably waste of your time.