Subject: Re: FOP fo:display-graphic problem
From: "Emmanuel.Leguy" <Emmanuel.Leguy@xxxxxxx>
Date: Fri, 10 Dec 1999 17:20:13 +0100
|
Hilton, Peter wrote:
>
> I'm trying to use fo:display-graphic with FOP, but the graphics appear to be
> corrupted in the generated PDF file.
>
> Does fo:display-graphic work in FOP, or am I probably doing something wrong?
> I've tried it with GIF and JPEG files from a couple of different sources.
> Should I be using a different format?
>
> The XSL-FO follows.
> Peter
> (Opinions are mine, not my employer's)
>
> --
>
> <fo:root xmlns:fo="http://www.w3.org/XSL/Format/1.0">
>
> <fo:layout-master-set><fo:simple-page-master
> page-master-name="master"><fo:region-body/></fo:simple-page-master></fo:layo
> ut-master-set>
>
> <fo:page-sequence>
> <fo:sequence-specification><fo:sequence-specifier-repeating
> page-master-first="master"
> page-master-repeating="master"/></fo:sequence-specification>
> <fo:flow>
> <fo:block>
>
> http://hilton.org.uk/picture/illustration/hh2.gif
> <fo:display-graphic
> href="http://hilton.org.uk/picture/illustration/hh2.gif"/>
>
>
> http://hilton.org.uk/picture/photo/belgium/antwerp_hilton_ls.jpeg
> <fo:display-graphic
> href="http://hilton.org.uk/picture/photo/belgium/antwerp_hilton_ls.jpeg"/>
> <fo:display-graphic
> href="http://xml.apache.org/graphics/index-header.jpg"/>
> </fo:block>
> </fo:flow>
> </fo:page-sequence>
>
> </fo:root>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
I have the same problem with certain GIF files but not all. I know that
this tag is not completly supported. All informations you get interest
me.
Emmanuel.
--
Laboratoire d'Informatique Fondamentale de Lille (LIFL)
Universite des Sciences et Technologies de Lille
Batiment M3 Cite Scientifique
59655 Villeneuve d'Ascq Cedex
FRANCE
tel: 03 20 33 63 38
fax: 03 20 43 65 66
mailto:Emmanuel.Leguy@xxxxxxx
http://www.lifl.fr
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|