[EMAIL PROTECTED] wrote:
Well,

I work in an php / apache / mac osx environment (sorry)

For the moment I wasn't able to even find a solution to generate an EPS/PDF file
containing a text (verdana 12px) scaled to 800x200 px for instance. The tricky
thing is the scaling part.

ABCPDF seams to be what I'm looking for but I need the same king of thing in
PHP. I'm about to thing it's hopeless...

But thank you anyway :)

It's not impossible, it's just a bit of a PITA. A couple years ago I did a similar project for some MINI Cooper ad banners (http://ryoshu.com/roof_studio_banners.jpg). We passed a set of coordinates that mapped the shapes to a servlet that used Batik (http://xmlgraphics.apache.org/batik/) to generate an SVG file. Once you have the SVG file you can generate a PDF file using FOP (http://xmlgraphics.apache.org/fop/). Illustrator can read an SVG file natively, so you really don't need to generate a EPS format.

I don't know if there is a Batik like library for PHP, but if you have control of the box, Tomcat works fine for this type of web app.

-Ricky
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to