Created attachment 59230 [details]
Rendering of this pdf is extremely slow
The attached test document renders extremely slowly in evince and okular.
poppler version (openSUSE 12.1) is 0.18.0
I rendered it with my actual version (includes patch for bug 13497) in less than one second.
I tested it with poppler 0.18.4 and okular. The low-res version is rendered quickly, which is already a huge improvement as the document is usable. The high-res version, however, still takes quite long to render/display on my system.
In 0.20 renders in 34 msec in splash but takes 66 sec in cairo, reassigning.
BTW thomasf i think you did not mean bug 13497 since that's not a poppler bug :D
(In reply to comment #3)
> In 0.20 renders in 34 msec in splash but takes 66 sec in cairo, reassigning.
> BTW thomasf i think you did not mean bug 13497 since that's not a poppler bug
Yes, You're true: I mean't bug 13487, which removes unneccessary transparency groups, sorry :-(
Oh, I missed that it was "cairo only" problem. But also with the actual git master pdfcairo of attachment 59230 [details] renders it in less than 1 second. So I just wonder, looking at a PDF page, why the cairo rendering of just some text should take so much time. Do I use the wrong PDF for my tests?
The slow rendering is caused by TextOutputDev, not CairoOutputDev. Evince extracts the text at the same time as it renders pages. pdftocairo only uses CairoOutputDev.