[cairo] Cairo PDF
andrew at operationaldynamics.com
Thu Jun 16 21:08:19 PDT 2011
On Thu, 2011-06-16 at 14:52 +0100, William Temperley wrote:
> > Cairo 1.10 PDF output sets the PDF interpolate flag for embedded images
> > based on the filter set on the pattern using cairo_pattern_set_filter().
> > The default filter causes the interpolate flag to be set to true.
> > Your PDFs contain very low resolution images that are scaled up. With
> > interpolate set to true you will get the blurry images. If you want the
> > interpolation disabled, set the filter to CAIRO_FILTER_NEAREST.
> Thanks Adrian, I'll give that a whirl. Looks like I'll have to add
> the binding to cairo_pattern_set_filter in Java-Gnome myself.
Shouldn't be too hard. Give me a shout on java-gnome-hackers list if you
need any help. Look at revno 751 [both
$ bzr log -n0 751
$ bzr diff -c 751
will be instructive] where we added the Extend and FillRule constants.
Adding Filter will be much the same I expect.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: This is a digitally signed message part
More information about the cairo