Subject: Re: [xsl] Getting from SVGs to PDF From: "Bob Portnell" <simply.bobp@xxxxxxxxx> Date: Thu, 7 Sep 2006 12:05:06 -0700 |
We're using FOP ... neither SVG specific content/file reference will output from the blocks below using the commandline call >fop [filename].fo > [filename].pdf, but it outputs everything else.
This is the one we'd like to use... <fo:block> <fo:external-graphic xmlns:svg="http://www.w3.org/2000/svg" src="http://alph43/stepper/chunk/org_chart/org_chart.svg"/> </fo:block>
We've tried testing this, but it didn't improve matters. <fo:instream-foreign-object> <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"> <circle fill="yellow" stroke="black" cx="62" cy="135" r="20"/> </svg> </fo:instream-foreign-object>
Bob P simply.bobp@xxxxxxxxx
Hi Bob,height="16mm">
What have you tried exactly? We are using <fo:block> sections like
<fo:block> <fo:instream-foreign-object> <svg:svg xmlns:svg="http://www.w3.org/2000/svg" width="22mm"
<svg:rect width="22mm" height="16mm" x="0px" y="0px"fill="black"/>
<svg:text y="22px" x="5px" font-family="AGaramond"
font-weight="bold" font-size="15pt" fill="white" font-stretch="condensed">ABGB</svg:text>
</svg:svg> </fo:instream-foreign-object> </fo:block>
in our FO files, which are the rendered via XEP. And it works perfectly...
best regards, Roman
> -----Original Message----- > From: Bob Portnell [mailto:simply.bobp@xxxxxxxxx] > Sent: Wednesday, September 06, 2006 2:12 AM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: [xsl] Getting from SVGs to PDF > > We've been trying, but haven't had proper successes yet. :-( > > Bob P > simply.bobp@xxxxxxxxx > > On 9/3/06, Huditsch, Roman (LNG-VIE) > <Roman.Huditsch@xxxxxxxxxxxxx> wrote: > > Hi Bob, > > > > Have you though about writing a skeleton XSL-FO file where you can > > include your SVG over <fo:foreign-object>. Then just pass > it through > > XEP, FOP or whatever and there you are. > > > > Hope this helps. > > > > best regards, > > Roman > > > > > -----Urspr|ngliche Nachricht----- > > > Von: Bob Portnell [mailto:simply.bobp@xxxxxxxxx] > > > Gesendet: Donnerstag, 31. August 2006 21:01 > > > An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > > > Betreff: [xsl] Getting from SVGs to PDF > > > > > > (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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Getting from SVGs to PDF, Bob Portnell | Thread | [xsl] XSLT2.0 compatibility, Lin, Jessica |
Re: [xsl] Data Relativity Question, Bob Portnell | Date | [xsl] Ignoring a child element, Emily.Garrett |
Month |