pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-devel] Recent font problem


From: Heinrich Müller
Subject: Re: [Pan-devel] Recent font problem
Date: Fri, 16 Dec 2011 22:32:46 +0000 (UTC)
User-agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 597853c ssh://address@hidden/git/pan2)

walt posted on Fri, 16 Dec 2011 12:50:46 -0800:

> 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);
> }

Did you turn all the optimizations off, in pan, too?
You can pass them via configure.
./configure CFLAGS=... CXXFLAGS=...
Also, could you try to pull from their git and compile that version of 
cairo. Second, could you try to use an older version of libgcrypt if 
possible. Just if you have the time....
So the error means cairo is passed an invalid matrix, hmmm.
Well, anyway thanks for your debugging so far, keep it up.

Cheers.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]