Re: Recent font problem
Heinrich Müller <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.pan.devel |
|---|---|
| Message-ID | <[email protected]> |
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.
_______________________________________________
Pan-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/pan-devel
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAABAgAGBQJO68cIAAoJEA6pWRJoCtnPb/QP/iByfeFrqh/M2HtbOXPfiHk2 TYcSgraIafKwV84RnL+2cVchuhAep3q//NYoL7tQvXaLhk4HQKrkcS/GxdOW5VUm +tgRTRyCNN1VYpJ53y52qWV8QnMQVVA6+wNB38piJK5ulRTbiep3A64+HdR1Xr3q OyQvv6aELwBQqCWOhASa1qkxKZGCgmalYDx+CI55eEI00WySiatIF3bbVRStxJBa hiKBv7Tqavua4pyTs04pJcGTP06Jyy9QbNXDeB+MyeYf5QZQiKETE76c9XERm1Pl XS0l7yqJVQoPAc2Z8a7RwF3Lm4S9NyQvFXfjxdbyp3JYq2ae/RvbPd8gHABq6AP3 ybzxcKeUn65g8C4QpCHV314ZWylvt728Nug13BJR1mLU62ax7dITqvBTvxBt2X7Z MCyvaq69kLkCXA7Q5uFsW8qAr9iS5qX5ToPpqjPjX3p0yq27C5yPH186KOazWlfL 1czpqc5Du47FD53UZe4oKXa192Ulhpn4eW/rTUqZ6JKLe+W9qxmp5vM7KtmNazO9 DS1IhQ2wKYtm/brA/wXfMxreobqcxjWpQbaJfiWUyLeCVobzwtyYQOxBIzBiwh4H gNGmYtrGGmvAU2OdeRoKRVFWKdHHcukXwI0AWxzU3v83n2iVO8Gk2EmOg+sNpMWY dpZt5oo4E01ns38giZsp =ZE6Y -----END PGP SIGNATURE-----