OK I think I have sorted out the image url issue now when I run the pdf it 
shows the following warnings

2012-02-08 09:37:39,131 [pool-1-thread-1] WARN  
uk.co.inbrand.fopengine.FopEngine - Before Instantiation

2012-02-08 09:37:39,156 [pool-1-thread-1] WARN  
uk.co.inbrand.fopengine.FopEngine - After Instantiation

2012-02-08 09:37:54,758 [pool-1-thread-2] WARN  org.apache.fop.apps.FOUserAgent 
- Line 1 of a paragraph overflows the available area by 11339 millipoints. (See 
position 51:11)

2012-02-08 09:37:54,768 [pool-1-thread-2] WARN  org.apache.fop.apps.FOUserAgent 
- Content overflows the viewport of an fo:block-container in block-progression 
direction by 17123 millipoints. (See position 50:90)

2012-02-08 09:37:54,794 [pool-1-thread-2] WARN  org.apache.fop.apps.FOUserAgent 
- Content overflows the viewport of an fo:block-container in block-progression 
direction by 5784 millipoints. (See position 637:92)

2012-02-08 09:37:57,192 [pool-1-thread-2] WARN  org.apache.fop.apps.FOUserAgent 
- Line 1 of a paragraph overflows the available area by 11339 millipoints. (See 
position 682:11)

2012-02-08 09:37:57,193 [pool-1-thread-2] WARN  org.apache.fop.apps.FOUserAgent 
- Content overflows the viewport of an fo:block-container in block-progression 
direction by 17123 millipoints. (See position 681:91)

2012-02-08 09:37:57,487 [pool-1-thread-2] WARN  org.apache.fop.apps.FOUserAgent 
- Line 1 of a paragraph overflows the available area by 11339 millipoints. (See 
position 1358:11)

2012-02-08 09:37:57,488 [pool-1-thread-2] WARN  org.apache.fop.apps.FOUserAgent 
- Content overflows the viewport of an fo:block-container in block-progression 
direction by 17123 millipoints. (See position 1357:91)

 

But it is still not creating a valid PDF 

I am getting image errors in the info log still where it can’t find an importer 
or convertor. What jars do I need for jpg files?

I have batik and XMLGraphics-Commons-1.4 

Is there any other jar I need – like JAI? And if so what are the maven 
dependencies I need?

 

 

 

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer




From: Craig Ringer [mailto:ring...@ringerc.id.au] 
Sent: 08 February 2012 03:56
To: fop-users@xmlgraphics.apache.org
Cc: Luis Ferro
Subject: Re: Problem that could lose me my job

 

On 08/02/12 03:23, Luis Ferro wrote: 

Hmmm... why not installing those files in a local webserver?

That way you would have a proper uri (http://localhost/etc...)

file:/// <file:///\\>  is a proper URI, it's just not a URL. Fop only requires 
resolvable URIs and doesn't really care where they come from.

Using HTTP would add transfer overhead and slow things down for little if any 
benefit. I don't really see the point, when fixing the URI syntax to conform to 
correct file URI syntax is all that's required here.

--
Craig Ringer

Reply via email to