<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
The pdf output file is supposed to display very large number of lines, connections<br>between a number of points. This is the code sample which specifies around 8million<br>lines:<br>.............<br>while (myIter!=edges.end()) {<br> .......<br> cairo_move_to (cr, *firstIter, *(firstIter+1));<br> cairo_line_to (cr, *secondIter, *(secondIter+1));<br> ..........<br> ++myIter;<br>}<br>cairo_set_line_width (cr, .05);<br>cairo_stroke (cr);<br>.........................<br>Note that the above code produces pdf files which were viewed with Evince, but not<br>with Adobe Reader (drawing error occurred, shown in the report window).<br>I used the same code for showing larger number of lines, more than 20million. The output<br>pdf files had names as specified, but their size was around 400 bytes, and when I try to<br>open them, they are simply empty(white, in Evince), while Adobe says that the file has no<br>pages to display.<br>In order to overcome this problem, I put stroke() within the while() loop, but when I tried<br>to draw files showing more than 20million lines, the process got "Killed" (Ubuntu Linux) at <br>around 33% of the total.<br>.............................<br>What would be the way to properly draw the pdf file specifying very large number of lines?<br>What would be the code to try? Note that the variations work properly with smaller number<br>of lines.<br><br>Thanks<br>                                            </body>
</html>