Hi!

I get the TeX hyphenation file and the XML version too, i set the path in the 
userconf.xml, but i read on the command line again and again, that they are not 
found. The path to the hyph files is correct, couse i'm able to embed the ttf 
fonts. Any suggestions?

<entry>
  <key>hyphenation-dir</key>
  <value>/fop/build/classes/hyph</value>
</entry>


this can i see when i generate the fo-file with saxon:


Making portrait pages on A4 paper (210mmx297mm)
No "de" localization of "hyphenation-character" exists; using "en".
No "de" localization of "hyphenation-push-character-count" exists; using "en".
No "de" localization of "hyphenation-remain-character-count" exists; using "en".
No "de" localization of "hyphenation-character" exists; using "en".
No "de" localization of "hyphenation-push-character-count" exists; using "en".
No "de" localization of "hyphenation-remain-character-count" exists; using "en".
No "de" localization of "hyphenation-character" exists; using "en".
No "de" localization of "hyphenation-push-character-count" exists; using "en".
No "de" localization of "hyphenation-remain-character-count" exists; using "en".
No "de" localization of "hyphenation-character" exists; using "en".
No "de" localization of "hyphenation-push-character-count" exists; using "en".
No "de" localization of "hyphenation-remain-character-count" exists; using "en".


And these errors came from FOP:

[ERROR] Couldn't find hyphenation pattern de
[ERROR] Error building hyphenation tree for language de
java.io.StreamCorruptedException: invalid stream header
        at 
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:737)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:253)
        at 
org.apache.fop.layout.hyphenation.Hyphenator.getFopHyphenationTree(Hyphenator.j
ava:164)
        at 
org.apache.fop.layout.hyphenation.Hyphenator.getHyphenationTree(Hyphenator.java
:91)
        at 
org.apache.fop.layout.hyphenation.Hyphenator.hyphenate(Hyphenator.java:251)
        at org.apache.fop.layout.LineArea.doHyphenation(LineArea.java:1206)
        at org.apache.fop.layout.LineArea.addText(LineArea.java:856)
        at org.apache.fop.fo.FOText.addRealText(FOText.java:294)
        at org.apache.fop.fo.FOText.addText(FOText.java:252)
        at org.apache.fop.fo.FOText.layout(FOText.java:161)
        at org.apache.fop.fo.flow.Block.layout(Block.java:257)
        at org.apache.fop.fo.flow.Block.layout(Block.java:257)
        at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
        at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
        at 
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400)
        at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
        at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:221)
        at org.apache.xerces.parsers.AbstractSAXParser.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 Sour
ce)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.fop.apps.Driver.render(Driver.java:498)
        at 
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
        at org.apache.fop.apps.Fop.main(Fop.java:62)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to