Ethan,

I suspect there's a problem in your XSL-FO file. I had similar things
happen to me with fo:list-item, and one of the components turned out to
be empty. This caused an error in the renderer. I processed my XML &
XSL-FO using XALAN.BAT (included with 0.20.5rc), but set my output to -fo.

the command line would be (assume "c:\java\fop-0.20.5rc>" is command
prompt):

c:\java\fop-0.20.5rc>xalan.bat -in c:\path\to\your\xmlfile.xml -xsl
c:\path\to\your\xslfile.xsl -out c:\path\to\your\outputfofile.fo

Hope this helps!

Web Maestro Clay

(note to FOP-DEV: it'd be nice to add a "-fo" output option to FOP, for
debugging--although xalan.bat does this, it'd be nice not have to learn
one more thing ;-p)

Leet, Ethan C wrote:
>       I am trying to create a simple PDF document.
> 
>       It consists of three pages or simple 2D graphics.
> 
>       I am using the PDFRenderer to create the pages.
> 
>       I create an SVG document from the SVGGraphics2D object.
> 
>       Then create a SVGArea with the SVGDocument.
> 
>       Thie area is then added to the Page's BodyAreaContainer's
> mainReferenceArea.
> 
>       Thie creates a PDF file that looks like it is large enough with all
> the pictures.
> 
>       When I open the file in Acrobat reader, I get an error saying 
> 
>               Illegal operation 'q' inside a text object
> 
>       And the pages are blank.
> 
>       Why ??


-- 
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to