[cairo] Re: [poppler] Re: poppler profiling on geode with cairo backend

Kristian Høgsberg krh at bitplanet.net
Thu Nov 9 14:30:58 PST 2006


On 11/9/06, Carl Worth <cworth at cworth.org> wrote:
> On Thu, 9 Nov 2006 17:02:18 -0500, "=?UTF-8?Q?Kristian_H=C3=B8gsberg?=" wrote:
> > Oh, this might be a problem with the crop box.  We set a clip for the
> > crop box before rendering the page and for integer scaling that clip
> > box probably always is pixel aligned.  Try to remove the "if (cropBox)
> > ..." block from  Gfx::Gfx() in Gfx.cc.
>
> Ah, that makes sense. So this cropBox code could just use some
> rounding at the right place?

Yeah, that's probably all it takes to speed up poppler.  Still, cairo
shouldn't hit fbCompositeGeneral for this case.

Kristian


More information about the cairo mailing list