Hi Michal,
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.
I also think that 'creating a file with known format and converting that to EPS' would cause more trouble.
We can use the PostScript Document Creation Module of PHP to create postscript files.
And from the external libraries which i have mentioned, i thought of using the DOM extension of PHP for the creation of SVG files.
Since SVG is a XML format it will be easy to operate on it with DOM extension.
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.
Are you suggesting me to do like that for these formats?
Regards,
--
Kishanthan.T