[cairo-bugs] [Bug 17830] postscript cuts text when rotated

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 29 16:48:21 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=17830





--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk>  2008-09-29 16:48:11 PST ---
Finally I understand... You're not telling gs the size of the page you've drawn
but leaving it to gs to automatically choose. You've transposed your page
dimensions in the call to cairo_ps_surface_create() [and in the rotation
function].

Add a cairo_rectangle (cr, 0, 0, 792, 612); cairo_clip (cr); immediately after
the cairo_create (surface); (or even just a cairo_paint(cr); to fill the
background with black) and hopefully you'll see what's going on.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list