[cairo-bugs] [Bug 17830] postscript cuts text when rotated
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 2 16:01:36 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=17830
--- Comment #8 from Charles Doutriaux <doutriaux1 at llnl.gov> 2008-10-02 16:01:27 PST ---
Ok that confirms what I thought it doesn't know I rotated the plot.
Even if my rotation is badly implemented then the actual grpahics should be
consistently cropped in a similar manner as the text.
What do you recommend i change in my rotation/translation in order to get the
text to appear again ?
I have to admit I'm lost here. Not sure what to do next? Is it a problem with
my code or the text portion of cairo ? (or both?)
Thanks for any help on how to fix this, I would like to move to cairo 1.8.0
C.
(In reply to comment #7)
> 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