xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Lohse ...@humantouch.de>
Subject Re: Character Problem in trunk
Date Sat, 08 Mar 2008 13:47:09 GMT
Hi Jeremias,

I just downloaded the latest FOP-trunk and I now have a new  
xmlgraphics-commons-1.3.jar in my classpath.
And still the same error ...

Any ideas?

Here is a downloadable FO: http://www.webjazz.de/pleasure/debug/GlyphsException.fo
Could you give it a try in your environment?

Thank you in advance,

Alex

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.SingleByteFont.hasChar(SingleByteFont.java:113)
	at org.apache.fop.fonts.LazyFont.hasChar(LazyFont.java:185)
	at org.apache.fop.fonts.Font.hasChar(Font.java:219)
	at org.apache.fop.fonts.Font.getCharWidth(Font.java:261)
	at  
org 
.apache 
.fop 
.layoutmgr 
.inline.TextLayoutManager.getNextKnuthElements(TextLayoutManager.java: 
572)
	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 
.BlockStackingLayoutManager 
.getNextKnuthElements(BlockStackingLayoutManager.java:288)
	at  
org 
.apache 
.fop 
.layoutmgr 
.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:115)
	at org.apache.fop.layoutmgr.StaticContentLayoutManager 
$ 
StaticContentBreaker 
.getNextKnuthElements(StaticContentLayoutManager.java:318)
	at  
org 
.apache 
.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java: 
552)
	at  
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java: 
302)
	at  
org 
.apache 
.fop 
.layoutmgr 
.StaticContentLayoutManager.doLayout(StaticContentLayoutManager.java: 
240)
	at  
org 
.apache 
.fop 
.layoutmgr 
.PageSequenceLayoutManager 
.layoutSideRegion(PageSequenceLayoutManager.java:156)
	at  
org 
.apache 
.fop 
.layoutmgr 
.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java: 
162)
	at  
org 
.apache 
.fop 
.layoutmgr 
.PageSequenceLayoutManager 
.activateLayout(PageSequenceLayoutManager.java:108)
	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.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java: 
261)
	at  
org 
.apache 
.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1399)
	at  
org 
.apache 
.xalan 
.transformer 
.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at  
org 
.apache 
.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
	at  
org 
.apache 
.xalan 
.templates 
.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
	at  
org 
.apache 
.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
	at  
org 
.apache 
.xalan 
.transformer 
.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
	at  
org 
.apache 
.xalan 
.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java: 
2281)
	at  
org 
.apache 
.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java: 
1367)
	at  
org 
.apache 
.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)
	at  
org 
.apache 
.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1284)
	at  
org 
.apache 
.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1262)

Am 06.03.2008 um 08:00 schrieb Jeremias Maerki:

> So you're using FOP Trunk. Make sure you really have the latest
> xmlgraphic-commons-1.3svn.jar in your classpath. Please note that the
> postfix "svn" indicates a snapshot. We often update the JAR in the  
> Trunk
> without changing the filename. Only when we do a release will we  
> change
> the filename. The error indicates that you're using an older snapshot.
>
> On 05.03.2008 23:59:36 Alexander Lohse wrote:
>> Hi,
>>
>> I get the following exception when using certain diacritical
>> characters ... my case a "c with caron".
>>
>> Seems like some library I got from trunk is broken or missing.
>>
>>  java.lang.NoSuchMethodError:
>> org.apache.xmlgraphics.fonts.Glyphs.getCharNameAlternativesFor(Ljava/
>> lang/String;)[Ljava/lang/String;
>>
>> My XMLGraphics is: xmlgraphics-commons-1.3svn.jar
>>
>> Any idea?
>>
>> Thank you!
>>
>> Alex
>> ______________________________________________________________
>>
>> Alexander Lohse • Entwicklungsleitung & Projektmanagement
>> Tel +49 38374 752 11 • Fax +49 38374 752 23
>> http://www.humantouch.de
>>
>> Human Touch Medienproduktion GmbH
>> Am See 1 • 17440 Klein Jasedow • Deutschland
>>
>> Geschäftsführung:
>> Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath  
>> (Senior)
>> Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users- 
>> help@xmlgraphics.apache.org
>>
>
>
>
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>

______________________________________________________________

Alexander Lohse • Entwicklungsleitung & Projektmanagement
Tel +49 38374 752 11 • Fax +49 38374 752 23
http://www.humantouch.de

Human Touch Medienproduktion GmbH
Am See 1 • 17440 Klein Jasedow • Deutschland

Geschäftsführung:
Lara Mallien, Nele Hybsier, Alexander Lohse, Johannes Heimrath (Senior)
Handelsregister Stralsund • HRB 4192 • USt-IdNr. DE128367684



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


Mime
View raw message