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 "H. krishna" <ba...@yahoo.com> on 2003/02/22 14:57:28 UTC
symbol font & SVG not display
hai everybody,
Sorry, my poor english.
i am using "symbol" font. But, in the PDF file the
charcter is displayed "#" symbol.
And one another thing is, i am create new font as per
fop guidelines. but, same result is shown on the fop
compilation error.
The Error is:
unknown font symbol,normal,normal so defaulted font to
any
SVG:
The following errors is displayed on fop running.
Could not load external SVG: null
Error while creating area: No ImageReader for this
type of image (file://d:/fop/fop-0.20.5rc2/e001.svg)
Anybody help is greatly appreciated.
Regards,
H. Balakrishnan
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: symbol font & SVG not display
Posted by "J.Pietschmann" <j3...@yahoo.de>.
H. krishna wrote:
> See my root element.
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xmlns:svg="http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
>
> This is correct or wrong? Kindly advise me.
Actually, this is not relevant to your problem.
There is, however, a certain possibility that SVG is
totally broken in FOP 0.20.5rc2. If you use this version
try 0.20.5rc1, which IIRC works.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: symbol font & SVG not display
Posted by "H. krishna" <ba...@yahoo.com>.
Dear J.Pietschmann,
> > My FO file like:
> >
> > <fo:external-graphic
> > src="file:///d:\fop\fop-5\e001.svg"/>
>
> This does not help in tracking down the problem. Can
> you display
> the SVG with Batik?
yes, my svg files is displayed on batik.
See my root element.
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:svg="http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
This is correct or wrong? Kindly advise me.
Regards,
H. Balakrishnan
--- "J.Pietschmann" <j3...@yahoo.de> wrote:
> H. krishna wrote:
> > I am linked external SVG File in FO File. The
> errors
> > like:
> >
> > [ERROR] Could not load external SVG: null
> This means something is wrong with your SVG. The
> usual cause
> is that you can't access the DTD on the W3C server
> (which you
> shouldn't do anyway).
>
> > My FO file like:
> >
> > <fo:external-graphic
> > src="file:///d:\fop\fop-5\e001.svg"/>
>
> This does not help in tracking down the problem. Can
> you display
> the SVG with Batik?
>
>
> > --- Myriam Delperier <my...@ajlsm.com>
> Would you *please* get used to snip old message
> quotes? *All*
> of you.
>
> J.Pietschmann
>
>
>
---------------------------------------------------------------------
> 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! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: symbol font & SVG not display
Posted by "J.Pietschmann" <j3...@yahoo.de>.
H. krishna wrote:
> I am linked external SVG File in FO File. The errors
> like:
>
> [ERROR] Could not load external SVG: null
This means something is wrong with your SVG. The usual cause
is that you can't access the DTD on the W3C server (which you
shouldn't do anyway).
> My FO file like:
>
> <fo:external-graphic
> src="file:///d:\fop\fop-5\e001.svg"/>
This does not help in tracking down the problem. Can you display
the SVG with Batik?
> --- Myriam Delperier <my...@ajlsm.com>
Would you *please* get used to snip old message quotes? *All*
of you.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: symbol font & SVG not display
Posted by "H. krishna" <ba...@yahoo.com>.
Dear Myriam Delperier,
But, i am not get the stack trace message.
My Problem is:
I am linked external SVG File in FO File. The errors
like:
[ERROR] Could not load external SVG: null
[ERROR] Error while creating area : No ImageReader for
this type of image (file:/d:/fop/fop-5/e001.svg)
My FO file like:
<fo:external-graphic
src="file:///d:\fop\fop-5\e001.svg"/>
Regards,
H. Balakrishnan
--- Myriam Delperier <my...@ajlsm.com>
wrote:
> If you have an error the debugging option should
> gives you informations
> about the problem
> A stack strace is a list of the classes which are
> concerned by the problem
> it looks like this for example
> at
>
com.icl.saxon.style.StyleElement.compileError(StyleElement.java:849)
> at
>
com.icl.saxon.style.XSLGeneralVariable.checkDuplicateDeclaration(XSLGeneralV
> ariable.java:209)
> at
>
com.icl.saxon.style.XSLVariable.validate(XSLVariable.java:38)
> at
>
com.icl.saxon.style.StyleElement.validateSubtree(StyleElement.java:473)
> at
>
com.icl.saxon.style.StyleElement.validateChildren(StyleElement.java:490)
> at
>
com.icl.saxon.style.StyleElement.validateSubtree(StyleElement.java:482)
> at
>
com.icl.saxon.style.XSLStyleSheet.preprocess(XSLStyleSheet.java:363)
> at
>
com.icl.saxon.PreparedStyleSheet.setStyleSheetDocument(PreparedStyleSheet.ja
> va:176)
> at
>
com.icl.saxon.TemplatesHandlerImpl.getTemplates(TemplatesHandlerImpl.java:70
> )
> at
>
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
> LTProcessorImpl.java:273)
> ...
> ----- Original Message -----
> From: "H. krishna" <ba...@yahoo.com>
> To: <fo...@xml.apache.org>
> Sent: Monday, February 24, 2003 10:15 AM
> Subject: Re: symbol font & SVG not display
>
>
> > Dear Myriam Delperier,
> >
> > > i think you should put -d (like debug) option
> in
> > > fop.bat
> > > it would be something like this
> > > java -cp %LOCALCLASSPATH%
> org.apache.fop.apps.Fop -d
> > > %1 %2 %3 %4 %5 %6 %7 %8
> > > java -Xmx250m -cp
> > %LOCALCLASSPATH%>org.apache.fop.apps.Fop -d -c
> > conf\userconfig.xml %1 %2 %3 %4 %5 %6 %7 %8
> >
> > Yes, see My fop.bat file:
> > java -Xmx250m -cp %LOCALCLASSPATH%
> > org.apache.fop.apps.Fop -d -c conf\userconfig.xml
> %1
> > %2 %3 %4 %5 %6 %7 %8
> >
> > But, i am not get a stack trace. what is meant by
> > stack trace?
> >
> > > > Regards,
> > > > H. Balakrishnan
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> fop-user-help@xml.apache.org
> >
> >
>
>
>
>
---------------------------------------------------------------------
> 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! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: symbol font & SVG not display
Posted by Myriam Delperier <my...@ajlsm.com>.
If you have an error the debugging option should gives you informations
about the problem
A stack strace is a list of the classes which are concerned by the problem
it looks like this for example
at com.icl.saxon.style.StyleElement.compileError(StyleElement.java:849)
at
com.icl.saxon.style.XSLGeneralVariable.checkDuplicateDeclaration(XSLGeneralV
ariable.java:209)
at com.icl.saxon.style.XSLVariable.validate(XSLVariable.java:38)
at com.icl.saxon.style.StyleElement.validateSubtree(StyleElement.java:473)
at com.icl.saxon.style.StyleElement.validateChildren(StyleElement.java:490)
at com.icl.saxon.style.StyleElement.validateSubtree(StyleElement.java:482)
at com.icl.saxon.style.XSLStyleSheet.preprocess(XSLStyleSheet.java:363)
at
com.icl.saxon.PreparedStyleSheet.setStyleSheetDocument(PreparedStyleSheet.ja
va:176)
at
com.icl.saxon.TemplatesHandlerImpl.getTemplates(TemplatesHandlerImpl.java:70
)
at
org.apache.cocoon.components.xslt.XSLTProcessorImpl.getTransformerHandler(XS
LTProcessorImpl.java:273)
...
----- Original Message -----
From: "H. krishna" <ba...@yahoo.com>
To: <fo...@xml.apache.org>
Sent: Monday, February 24, 2003 10:15 AM
Subject: Re: symbol font & SVG not display
> Dear Myriam Delperier,
>
> > i think you should put -d (like debug) option in
> > fop.bat
> > it would be something like this
> > java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop -d
> > %1 %2 %3 %4 %5 %6 %7 %8
> > java -Xmx250m -cp
> %LOCALCLASSPATH%>org.apache.fop.apps.Fop -d -c
> conf\userconfig.xml %1 %2 %3 %4 %5 %6 %7 %8
>
> Yes, see My fop.bat file:
> java -Xmx250m -cp %LOCALCLASSPATH%
> org.apache.fop.apps.Fop -d -c conf\userconfig.xml %1
> %2 %3 %4 %5 %6 %7 %8
>
> But, i am not get a stack trace. what is meant by
> stack trace?
>
> > > Regards,
> > > H. Balakrishnan
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: symbol font & SVG not display
Posted by "H. krishna" <ba...@yahoo.com>.
Dear Myriam Delperier,
> i think you should put -d (like debug) option in
> fop.bat
> it would be something like this
> java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop -d
> %1 %2 %3 %4 %5 %6 %7 %8
> java -Xmx250m -cp
%LOCALCLASSPATH%>org.apache.fop.apps.Fop -d -c
conf\userconfig.xml %1 %2 %3 %4 %5 %6 %7 %8
Yes, see My fop.bat file:
java -Xmx250m -cp %LOCALCLASSPATH%
org.apache.fop.apps.Fop -d -c conf\userconfig.xml %1
%2 %3 %4 %5 %6 %7 %8
But, i am not get a stack trace. what is meant by
stack trace?
> > Regards,
> > H. Balakrishnan
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: symbol font & SVG not display
Posted by Myriam Delperier <my...@ajlsm.com>.
i think you should put -d (like debug) option in fop.bat
it would be something like this
java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop -d %1 %2 %3 %4 %5 %6 %7 %8
----- Original Message -----
From: "H. krishna" <ba...@yahoo.com>
To: <fo...@xml.apache.org>
Sent: Monday, February 24, 2003 9:18 AM
Subject: Re: symbol font & SVG not display
> Dear J.Pietschmann,
>
> Thank for your replay mail.
> >
> > Trz "Symbol", with an upper case S.
>
> Now, My symbol font problem is solved.
>
> > 1. Check whether the SVG can be displayed with
> > Batik.
>
> Yes, My SVG file is displayed on batik.
>
> > 2. Run the FOP CLI with the -d switch, if you get a
> > stack
> > trace, post it.
>
> I don't understood, what the meaning of CLI. Please
> replay me.
>
> Regards,
> H. Balakrishnan
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: symbol font & SVG not display
Posted by "H. krishna" <ba...@yahoo.com>.
Dear J.Pietschmann,
Thank for your replay mail.
>
> Trz "Symbol", with an upper case S.
Now, My symbol font problem is solved.
> 1. Check whether the SVG can be displayed with
> Batik.
Yes, My SVG file is displayed on batik.
> 2. Run the FOP CLI with the -d switch, if you get a
> stack
> trace, post it.
I don't understood, what the meaning of CLI. Please
replay me.
Regards,
H. Balakrishnan
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: symbol font & SVG not display
Posted by "J.Pietschmann" <j3...@yahoo.de>.
H. krishna wrote:
> The Error is:
>
> unknown font symbol,normal,normal so defaulted font to
Trz "Symbol", with an upper case S.
> SVG:
...
> Could not load external SVG: null
> Error while creating area: No ImageReader for this
> type of image (file://d:/fop/fop-0.20.5rc2/e001.svg)
Somehow your SVG was not recognized as such.
1. Check whether the SVG can be displayed with Batik.
2. Run the FOP CLI with the -d switch, if you get a stack
trace, post it.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org