xsl-list
[Top] [All Lists]

Re: [xsl] Getting from SVGs to PDF

2006-09-07 12:05:32
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>

Thoughts? Comments?

Bob P
simply(_dot_)bobp(_at_)gmail(_dot_)com

On 9/7/06, Huditsch, Roman (LNG-VIE) 
<Roman(_dot_)Huditsch(_at_)lexisnexis(_dot_)at> wrote:
Hi Bob,

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" 
height="16mm">
                        <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(_dot_)bobp(_at_)gmail(_dot_)com]
> Sent: Wednesday, September 06, 2006 2:12 AM
> To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
> Subject: Re: [xsl] Getting from SVGs to PDF
>
> We've been trying, but haven't had proper successes yet. :-(
>
> Bob P
> simply(_dot_)bobp(_at_)gmail(_dot_)com
>
> On 9/3/06, Huditsch, Roman (LNG-VIE)
> <Roman(_dot_)Huditsch(_at_)lexisnexis(_dot_)at> 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(_dot_)bobp(_at_)gmail(_dot_)com]
> > > Gesendet: Donnerstag, 31. August 2006 21:01
> > > An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
> > > 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(_dot_)bobp(_at_)gmail(_dot_)com
> > >
> > >
> --~-----------------------------------------------------------------
> > > - XSL-List info and archive:
> > > http://www.mulberrytech.com/xsl/xsl-list
> > > To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> > > or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
> > > --~--
> >
> >
> >
> --~------------------------------------------------------------------
> > XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> > To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> > or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
> > --~--
> >
> >
>
> --~------------------------------------------------------------------
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
> --~--
>
>

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>