[cairo] postscript bug, text output is truncated (not shapes)
Ralph Giles
giles at ghostscript.com
Mon Oct 13 11:52:36 PDT 2008
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.
FWIW,
-r
More information about the cairo
mailing list