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

Behdad Esfahbod behdad at behdad.org
Tue Dec 5 12:13:51 PST 2006

On Mon, 2006-12-04 at 17:34 +1100, 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). 

As it was pointed out already, all you need is to do a cairo_scaled() on
the PDF surface before painting the image.


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list