Please Help

I use FOP 0.20.5rc with j2sdk1.4.0_03 and i can't convert fo file with svg (with text) to PDF with Text.

i made fonts metrics files without error and i added svgSTROKEStext entry in userconfig.xml and i had opened arial.ttf font and saved it with a truetypefont editor.

When i launched the command "fop -c conf\userconfig.xml -fo -pdf result.pdf" , the PDF is generated but with line art text and i got this error :

[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5rc
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]
      at org.apache.batik.gvt.font.AWTGVTGlyphVector.getGlyphMetrics(
      at org.apache.batik.gvt.text.GlyphLayout.doSpacing(
      at org.apache.batik.gvt.text.GlyphLayout.adjustTextSpacing(
      at org.apache.batik.gvt.text.GlyphLayout.getAdvance2D(
      at org.apache.batik.gvt.renderer.StrokingTextPainter.getTextChunk(
      at org.apache.batik.gvt.renderer.StrokingTextPainter.getTextRuns(
      at org.apache.batik.gvt.renderer.StrokingTextPainter.getBounds2D(
      at org.apache.fop.svg.PDFTextPainter.getBounds2D(
      at org.apache.batik.gvt.TextNode.getPrimitiveBounds(

please see my attached files. Many thanks for your help, it's critical for me.




Reply via email to