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 Florian Apolloner <fl...@apolloner.eu> on 2011/04/03 16:12:57 UTC

fop-hyph creates odd output

Hi,

attached is a sample fo file and a pdf. The pdf is generated using fop
1.0 and the hyph patterns 2.0 (binary packages, sourceforge displays it
as the newest download…).

As you can see the fo file has two blocks with identical content, one
has hyphenation turned off, the other has it turned on.

Now the pdf output is fine for the block without hyphenation (the
content after "---"*infinity) but if I run it through hyphenation (the
first block) it's completely broken (Especially compare the lines with
linebreaks, eg the last three lines).

I tried everything but I fail to find the error, any hints for me?

Thx in advance,
Florian Apolloner

Re: fop-hyph creates odd output

Posted by Florian Apolloner <fl...@apolloner.eu>.
Andreas L. Delmelle <andreas.delmelle <at> telenet.be> writes:
> The only thing you can do in case you are stuck on 1.0, is not use
linefeed-treatment="preserve" in
> combination with hyphenation.

I'd like to use released version, but hey; if it works ;) Trunk works fine for
now, thx!

Cheers,
Florian




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


Re: fop-hyph creates odd output

Posted by "Andreas L. Delmelle" <an...@telenet.be>.
On 03 Apr 2011, at 16:12, Florian Apolloner wrote:

Hi Florian

> Now the pdf output is fine for the block without hyphenation (the
> content after "---"*infinity) but if I run it through hyphenation (the
> first block) it's completely broken (Especially compare the lines with
> linebreaks, eg the last three lines).
> 
> I tried everything but I fail to find the error, any hints for me?

This was still an issue in FOP 1.0, but has been fixed in FOP Trunk. 
See also: https://issues.apache.org/bugzilla/show_bug.cgi?id=38264

The only thing you can do in case you are stuck on 1.0, is not use linefeed-treatment="preserve" in combination with hyphenation.


Regards,

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