Hello FOP developers,

When I transform in pdf a xsl-fo file that contains an element like
<fo:inline font-family="Symbol"> → </fo:inline> (see xsl-fo file at
http://leohome.free.fr/FOP/test/lisez-moi1.xml.fo), the latest fop trunk
returns an exception. It does not happened with fop 0.94 or with the older
fop trunk (~ 2008 January)

Here is the message returned by fop trunk:

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.xmlgraphics.fonts.Glyphs.getCharNameAlternativesFor(Ljava/lang/String;)[Ljava/lang/String;
at
org.apache.fop.fonts.AbstractCodePointMapping.mapChar(AbstractCodePointMapping.java:163)
at org.apache.fop.fonts.base14.Symbol.hasChar(Symbol.java:314)
at org.apache.fop.fonts.Font.hasChar(Font.java:219)
at
org.apache.fop.fo.properties.CommonHyphenation.getHyphChar(CommonHyphenation.java:132)
at
org.apache.fop.fo.properties.CommonHyphenation.getHyphIPD(CommonHyphenation.java:181)
at
org.apache.fop.layoutmgr.inline.TextLayoutManager.initialize(TextLayoutManager.java:198)
at
org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:118)
at
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getNextKnuthElements(InlineLayoutManager.java:299)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.collectInlineKnuthElements(LineLayoutManager.java:660)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:596)
at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288)
at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:115)
at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288)
at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:115)
at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:107)
at
org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:145)
at
org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:552)
at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:137)
at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:302)
at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:264)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:106)
at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:234)
at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:123)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:345)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:174)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1101)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:211)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:123)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)

What is wrong ?

Best regards

-- 
Hugues Leonardi

-- 
View this message in context: 
http://www.nabble.com/Font-symbol-problem-with-the-latest-fop-trunk-tp15789040p15789040.html
Sent from the FOP - Dev mailing list archive at Nabble.com.

Reply via email to