Hello,

I got a problem with linefeed-treatment='preserve' and hyphenation:

<?xml version="1.0" encoding="iso-8859-1"?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
   <fo:layout-master-set>
     <fo:simple-page-master master-name="simple">
       <fo:region-body/>
     </fo:simple-page-master>
   </fo:layout-master-set>        
   <fo:page-sequence master-reference="simple" language="de">
     <fo:flow flow-name="xsl-region-body">
       <fo:block linefeed-treatment="preserve" hyphenate="true">
         Hello
         World
       </fo:block>
     </fo:flow>
   </fo:page-sequence>
</fo:root>

I expected the following result:

Hello
World

but I get

HelloWorld
lo

With bigger examples the result is more weird. For me it seems to be an bug in fop. I tested it in 0.93 and 0.94. Without hyphenation everything works fine.

Eido

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

Reply via email to