[cairo] Patch for cairo - high resolution images in PDF surface.

mydevel at free.fr mydevel at free.fr
Tue Dec 5 02:30:12 PST 2006


On Monday 04 December 2006 07:34, Andrew McRae wrote:
> The cairo device unit for PDF being a point is a
> little arbitrary (that's
> my point, if you get what I mean), in that currently there's
> no way to represent images in PDF in any better resolution
> than 72 DPI (if there is, please outline it to me).

Hello,

You just have to scale down... And you get what you want, except for a little 
bug in the PDF backend that will tile your image over the surface even with 
CAIRO_EXTEND_NONE, but that's another story.

Anyhow, fallback_resolution has NO EFFECT on image inclusion because it is a 
native PDF operation, just try and set the fallback res to 30 or less : no 
difference.

Sincerly,

Romuald.


More information about the cairo mailing list