<div>Hi Michal,</div><div>I thought of implementing classes for each format with some methods for rendering the primitives (line, text, box, etc) and subclasses for each format to implement these methods.</div><div>I also think that 'creating a file with known format and converting that to EPS' would cause more trouble.</div>
<div>We can use the PostScript Document Creation Module of PHP to create postscript files. </div><div>And from the external libraries which i have mentioned, i thought of using the DOM extension of PHP for the creation of SVG files.</div>
<div>Since SVG is a XML format it will be easy to operate on it with DOM extension. </div><div><br></div><div>From what i have learnt by going through the source is that exporting files(eg - PDF) are done on-the-fly without requiring external extensions.</div>
<div>Are you suggesting me to do like that for these formats?</div><div><br></div><div>Regards,</div>-- <br>Kishanthan.T<br>