[PATCH 1/2] print: Use cairo_save/cairo_restore to manage temporary cairo changes

Salvador Cuñat salvador.cunat at gmail.com
Mon Feb 11 11:55:41 PST 2013


On Mon, Feb 11, 2013 at 11:01:05AM -0800, Carl Worth wrote:
> 
> Thanks for taking my simple example and expanding it throughout this
> code.
> 

Thanks to you Carl.  And I'll take the oportunity to make you a question
about the way pango_layout_get_extents() works which is driving me mad.

In my code I had to introduce a divisor to logic_ext.height because the
values we got were too big,  but in yours it was unnecesary and
performed very well.  While preparing modifications to the table print I
didn't have to introduce the divisor too ...  So  What's the diference ?

Now Lubomir reports that the divisor makes the lines overlap in win, but
not in ubuntu or debian.

Any idea ?

Thank you in advance.

Salva.


More information about the subsurface mailing list