[cairo] Trying to figure out some rasterization problems

David Kastrup dak at gnu.org
Sun Apr 21 15:16:16 PDT 2013


James Cloos <cloos at jhcloos.com> writes:

> Perhaps using setlinecap and stroke would produce more consistent
> rounded rectangles than filling a path?

For half-circle ends, sure.  The code already does that.  But we are
talking merely rounded corners here, namely quarter-circles.  At any
rate, filling a path gives inconsistent stroke width even at 600dpi.

> Also, it is possible that, instead of creating postscript and using
> gs's ps2pdf, using cairo to create pdf directly might work better.

Are links, bookmarks and other PDF-specific stuff accessible from Cairo?

-- 
David Kastrup


More information about the cairo mailing list