You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Dirk Eiden <di...@gmx.de> on 2008/03/12 14:14:24 UTC

Problem with linefeed-treatment='preserve' and hyphenation

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: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: Problem with linefeed-treatment='preserve' and hyphenation

Posted by Chris Bowditch <bo...@hotmail.com>.
Dirk Eiden wrote:

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

This is a known bug. See:

https://issues.apache.org/bugzilla/show_bug.cgi?id=38264

<snip/>

Chris



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