Re: [xsl] Getting from SVGs to PDF

Subject: Re: [xsl] Getting from SVGs to PDF
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 01 Sep 2006 14:38:46 -0400
Bob,

More than one XSL-FO processor does a commendable job of converting SVGs into PDFs. The way I commonly do it is by including or referring to the SVG in a little XML file, which I transform via XSL into FO and feed to the formatting engine. If your incantations are correct, a beautiful PDF with a vector graphic comes out.

I've done this successfully with the RenderX XEP engine, but I think others advertise the feature as well. Indeed, the free FOP engine from Apache can use Apache's own Batik processor to do this.

This being an XSL solution, it's very much on topic.

Cheers,
Wendell

At 03:01 PM 8/31/2006, you wrote:
(This may be borderline off-topic. If so, please reply directly to my
e-mail, and Tommie is allowed to slap me down.)

My problem with attribute matching earlier this month was related to
pulling text info from one XML file into an SVG file as it is
transformed into another SVG file. So far so good. It all displays
very nicely, but we're having a dickens of a time getting it changed
into a sharp resolution PDF. We 'draw' our SVGs in text, so we don't
have the boon of PDF-export from Adobe Illustrator or GIMP.

Advice, pointers, links (and warranted slaps) welcome.

Bob P
simply.bobp@xxxxxxxxx

Current Thread