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

           Summary: Unnecessary hyphenation, swallowed characters
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


I have a case where a word is hyphenated even though sufficient space appears
to be available, and the text following the hyphen is dropped.

In another case, white space and following non-white characters immediately
preceding a fo:inline are dropped.

The attachment contains two fo:blocks, each illustrating one of these two
issues.

I am not sure this is the same bug in both cases. However, if I remove the
hyphenate="true" attribute, both problems go away.

The example uses language="fr" (and the latest offo patterns). However, at
least the first issue does not appear to be language specific; if I change the
language attribute to "en", in this particular example, the first problem
persists.

Minor modifications to the example change its behavior. For example, if the
first block is reduced to <fo:block>grammaire ?</fo:block>, the word is no
longer hyphenated, but the question mark and the preceding space are dropped.
If I remove the first word of the second fo:block, the second problem goes
away.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to