Thanks. Works a treat. One more question, where can I get these hyphenation files for asian languages (such as japanese).

On May 28, 2008, at 03:05, Kamal Bhatt wrote:

Hi

I have downloaded they hyphenation files from: http://offo.sourceforge.net/hyphenation/index.html

I have copied these files into c:/fop-0.93/hyph

I have updated my config file to point to this directory for hyphenation base: <hyphenation-base>C:/fop-0.93/hyph/</hyphenation-base>

I have updated my FO to include language="en". There is an C:/fop-0.93/hyph/en.xml file (both attached)

However, my line does not hyphenate. Instead, it remains a mess (attached)

What am I doing wrong?

The only thing you seem to be forgetting is:

<fo:block>ALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOYALLWORKANDNOPLAYMAKESKAMALADULLBOY
          <fo:block>

You need:

<fo:block hyphenate="true">...

Or alternatively, specify the property on the fo:root, if you want it to apply to all fo:blocks in the document.


HTH!

Andreas


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




--
Kamal Bhatt


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

Reply via email to