cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Dupuy <>
Subject RE: display-graphic
Date Mon, 21 Aug 2000 13:58:50 GMT
that's insert a svg file. It's an HTML tag.
<EMBED NAME="SVGTest"  SRC="clock.svg" />

The following code is borrowed from a Cocoon example.
<fo:root xmlns:fo=""
<svg:svg width="400pt" height="200pt">
        <svg:rect x="20pt" y="20pt" width="100pt" height="100pt"/>
        <svg:line x1="20pt" y1="20pt" x2="120pt" y2="120pt"/>
        <svg:line x1="120pt" y1="20pt" x2="20pt" y2="120pt"/>
        <svg:text x="20pt" y="150pt">Hello SVG!</svg:text>


-----Original Message-----
From: []
Sent: 21. august 2000 13:46
To:; David Dupuy
Subject: RE: display-graphic

> There is also :
> <fo:external-graphic src="file:mypic.jpg"/>
> But I've got this error :
> "Unknown formatting object
> This method is borrowed from an example of FOP itself...maybe it may be
> not implemented yet...but it's declared implemented in the features....

...I tried inline-graphic and external-graphic as well but
I get unknown formatting object, too! Isn't there anybody
that has created a pdf with a image inside?

> Tell me if you succeed in displaying a picture...otherwise there is
> still
> SVG which works.

How can I do this? With a instream-foreign-object?

>> I don't get pictures to show up in my pdfs.
>> I always get "unsupported bmp format"
>> I just took this out of the sample...
>> <fo:display-graphic href="mypic.jpg"/>
>> (Of course I tried different bmp formats...
>>  which one is the right one?)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message