[cairo] Subject: ImageSurfacePattern disappears with a large enough scale factor
Michel Iwaniec
michel_iwaniec at yahoo.com
Thu Oct 30 16:44:38 PDT 2008
Thanks! After managing to manually overwrite all shared libraries and links to them, using this patched version worked like a charm. :)
Though I still have some problems with the grid and the image misaligning when zooming in *really* close. (much closer than in the linked .PNG images that is) I can live with that for now, but it would be nice if these precision errors(?) could be reduced even more.
Anyhow, thanks again for your über-fast solution! :)
// Michel
--- On Thu, 10/30/08, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> From: Chris Wilson <chris at chris-wilson.co.uk>
> Subject: Re: [cairo] Subject: ImageSurfacePattern disappears with a large enough scale factor
> To: michel_iwaniec at yahoo.com
> Cc: cairo at cairographics.org
> Date: Thursday, October 30, 2008, 11:17 PM
> On Thu, 2008-10-30 at 15:02 -0700, Michel Iwaniec wrote:
> > I seem to have run into some bug/precision limit in
> Cairo when trying to upscale an ImageSurfacePattern too
> much.
>
> Interesting. I've just pushed a patch to git that
> should reduce the
> likelihood of overflow when scaling images. Can you try
> testing the
> current tip or can you post a test case for us to try?
> Though in this
> case, as you are upscaling, you may be underflowing the
> pattern matrix
> instead.
>
> Thanks.
> --
> Chris
More information about the cairo
mailing list