You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jeremias Maerki <de...@greenmail.ch> on 2003/02/10 14:43:00 UTC

Re: SVG

Could you provide a little snippet of your FO file where you reference
the SVG file? And can you please run the transformation using the "-d"
option when callong fop.bat/fop.sh? That way you will get a stacktrace
which lets us help tracking down what's going wrong.

On 09.02.2003 11:08:24 H. krishna wrote:
> i am convert mathml to svg format using "custard".
> then linked the svg files in the fo file. the
> following error is display on the compilation stage
> (FOP-0.20.5):
> 
> [ERROR] : Could not load external SVG: null
> [ERROR] : Error while creating area : No ImageReader
> for this type of image (file: m002.svg)
> 
> But in the "FOP-0.20.4" the same fo file is work fine.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: NPE in AbstractRenderer and bug with fo:inlines (was: SVG)

Posted by Jeremias Maerki <de...@greenmail.ch>.
Looks like it's already in Bugzilla:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13464


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: NPE in AbstractRenderer and bug with fo:inlines (was: SVG)

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Jeremias Maerki wrote:
> [ERROR] Areas pending, text probably lost. Check Page <unknown> and following page.
...
> Anybody out there who wants to fix that one?

The problem is: how? A table can have a bunch of pending areas
in each of the last lines in each cell. What's missing is a link
between the block areas generated by a fo:block across a page
break, but I'm sure this would really screw page gc.

Wait: the block FO could transfer the pending areas from one line
to the next. I'll look into this this week.

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: NPE in AbstractRenderer and bug with fo:inlines (was: SVG)

Posted by Jeremias Maerki <de...@greenmail.ch>.
Ok, the stacktrace is still missing, but I've still been able to
reproduce the problem. But it's not related to SVG as you suspected. FOP
wants to write a warning message and encounters a null pointer. I've
just committed a change to CVS that fixes the NullPointerException, but
not the bug (see below). If you download the CVS version of FOP you
should be able to generate a PDF from your FO file. The problem is that
on my machine FOP swallowed a character ("(").

Does anybody have an idea about the following message generated in
AbstractRenderer.java? I've found a reference to this problem in the
mailing list archives: http://marc.theaimsgroup.com/?t=101903253600001&r=1&w=2

[ERROR] Areas pending, text probably lost. Check Page <unknown> and following page.

Sounds like you tripped over an old bug. I suggest you try working
around it for the moment by chaning the fo:inline near "In Europe there...".
I was able to get rid of the error by removing the "(" before the fo:inline.

Anybody out there who wants to fix that one?

On 11.02.2003 14:30:07 H. krishna wrote:
> Yes, i am using batik version with fop. 
> 
> i attached my fo file. please look into this.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: SVG

Posted by "H. krishna" <ba...@yahoo.com>.
Dear Jeremias Maerki,

Yes, i am using batik version with fop. 

i attached my fo file. please look into this.

Regards,

H. Balakrishnan



--- Jeremias Maerki <de...@greenmail.ch> wrote:
> I've downloaded Custard and tried two of their
> generated SVG files. No
> problems with the way you specified the SVG. There
> must be something
> else. Please send in that stacktrace I was talking
> about in my last mail.
> It would help me track down the problem. Your last
> mail didn't contain
> any helpful information.
> 
> Are you sure you're using the Batik version that
> comes with FOP? Another
> version may be incompatible.
> 
> On 11.02.2003 10:58:46 H. krishna wrote:
> > my fop bat file is :
> > 
> > java -Xmx250m -cp %LOCALCLASSPATH%
> > org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 -d
> -c
> > conf\userconfig.xml 
> > 
> > my svg is:
> > 
> > <fo:external-graphic alignment-baseline="baseline"
> 
> > src="m001.svg"/>
> 
> 
> Jeremias Maerki
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> fop-user-help@xml.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

Re: SVG

Posted by Jeremias Maerki <de...@greenmail.ch>.
I've downloaded Custard and tried two of their generated SVG files. No
problems with the way you specified the SVG. There must be something
else. Please send in that stacktrace I was talking about in my last mail.
It would help me track down the problem. Your last mail didn't contain
any helpful information.

Are you sure you're using the Batik version that comes with FOP? Another
version may be incompatible.

On 11.02.2003 10:58:46 H. krishna wrote:
> my fop bat file is :
> 
> java -Xmx250m -cp %LOCALCLASSPATH%
> org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 -d -c
> conf\userconfig.xml 
> 
> my svg is:
> 
> <fo:external-graphic alignment-baseline="baseline" 
> src="m001.svg"/>


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: SVG

Posted by "H. krishna" <ba...@yahoo.com>.
Dear Jeremias Maerki,

my fop bat file is :

java -Xmx250m -cp %LOCALCLASSPATH%
org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8 -d -c
conf\userconfig.xml 

my svg is:

<fo:external-graphic alignment-baseline="baseline" 
src="m001.svg"/>

Immediate replay is highly appreciated.

Regards,

H. Balakrishnan



--- Jeremias Maerki <de...@greenmail.ch> wrote:
> Could you provide a little snippet of your FO file
> where you reference
> the SVG file? And can you please run the
> transformation using the "-d"
> option when callong fop.bat/fop.sh? That way you
> will get a stacktrace
> which lets us help tracking down what's going wrong.
> 
> On 09.02.2003 11:08:24 H. krishna wrote:
> > i am convert mathml to svg format using "custard".
> > then linked the svg files in the fo file. the
> > following error is display on the compilation
> stage
> > (FOP-0.20.5):
> > 
> > [ERROR] : Could not load external SVG: null
> > [ERROR] : Error while creating area : No
> ImageReader
> > for this type of image (file: m002.svg)
> > 
> > But in the "FOP-0.20.4" the same fo file is work
> fine.
> 
> 
> 
> Jeremias Maerki
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> fop-user-help@xml.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org