On 12/16/2011 12:03 PM, Heinrich Mueller wrote:
Am 16.12.2011 19:24, schrieb walt:
So I deleted the assertion from cairo's code, and now pan works perfectly.
Can you point me to the line number in the file?
You mean cairo's code, right? This machine is running cairo-1.10.2, and here is the troublesome code in cairo-surface.c. The assertion is line 1287: void cairo_surface_set_device_offset (cairo_surface_t *surface, double x_offset, double y_offset) { cairo_status_t status; if (surface->status) return; assert (surface->snapshot_of == NULL); if (surface->finished) { status = _cairo_surface_set_error (surface, _cairo_error (CAIRO_STATUS_SURFACE_FINISHED)); return; } _cairo_surface_begin_modification (surface); surface->device_transform.x0 = x_offset; surface->device_transform.y0 = y_offset; surface->device_transform_inverse = surface->device_transform; status = cairo_matrix_invert (&surface->device_transform_inverse); /* should always be invertible unless given pathological input */ assert (status == CAIRO_STATUS_SUCCESS); _cairo_observers_notify (&surface->device_transform_observers, surface); } _______________________________________________ Pan-devel mailing list Pan-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/pan-devel