[cairo] Very large number of lines
Andrea Canciani
ranma42 at gmail.com
Mon Aug 30 09:35:44 PDT 2010
On Mon, Aug 30, 2010 at 2:08 PM, necko necko <opustenom at hotmail.com> wrote:
> Thank you for your email. I applied your approach of stoke() every Nth line
> (but I take N=1000000 instead of 1000;
> if you think it would be better to use smaller stride (N=1000), please let
> me know).
> This approach outputs the pdf file of size 1.5 MB, but the machine is still
> trying to display it. I hope it will display
> that single line. Did Evince display the pdf file properly at your machine?
Please notice that you are testing a *very* degenerate case (all your
segments overlap
exactly) that triggers a slow path in cairo rasterizer. Please use
real segment data.
You might probably also want to check if all those strokes are actually needed.
What are you trying to render?
Andrea
More information about the cairo
mailing list