[cairo] postscript bug, text output is truncated (not shapes)

Charles سمير Doutriaux doutriaux1 at LLNL.gov
Mon Oct 13 12:56:45 PDT 2008


It's all coming back now!

I was doing the rotate thing because of that.

Now I just played again around with that.

And it seems that adding
fixes my issue, Now why the -width/4. I don't really know.. but hey  
works for me.

Tested it with 1.8.0 seems to work great!

Thank you al for the help in getting this going! (I'm still curious  
about -width/4. though)


On Oct 13, 2008, at 11:52 AM, Ralph Giles wrote:

> On 13-Oct-08, at 11:21 AM, Charles سمير Doutriaux wrote:
>> Ok so i appied the method you suggested, creating a  page 792/612
>> no rotation
> This is normal, really. Postscript is less sophisticated about such  
> things that experience with modern image formats might lead you to  
> expect. It assumes it's talking to a printer.
> If you tell your postscript viewer to use a 792x612 paper size, it  
> works fine. Otherwise, viewers tend to assume you want to print on  
> A4 or letter, portrait media.
> Are you calling cairo_ps_surface_set_size()?  
> cairo_ps_surface_set_eps()? Either of those might help. An EPS file  
> can describe its target size which often gives better crop or  
> autorotation behaviour.
> -r

More information about the cairo mailing list