You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2008/07/07 15:13:48 UTC

DO NOT REPLY [Bug 45351] New: Unnecessary hyphenation, swallowed characters

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: Justus-bulk@Piater.name


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.

DO NOT REPLY [Bug 45351] Unnecessary hyphenation, swallowed characters

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45351

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #5 from Glenn Adams <gl...@skynav.com> 2012-04-01 06:18:11 UTC ---
batch transition to closed; if someone wishes to restore one of these to
resolved in order to perform a verification step, then feel free to do so

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

DO NOT REPLY [Bug 45351] Unnecessary hyphenation, swallowed characters

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45351

Andreas L. Delmelle <ad...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Andreas L. Delmelle <ad...@apache.org> 2010-11-25 18:24:17 EST ---

Both issues seem to be fixed in current trunk.

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

DO NOT REPLY [Bug 45351] Unnecessary hyphenation, swallowed characters

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45351


Justus-bulk@Piater.name changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22220|application/octet-stream    |text/plain
          mime type|                            |




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

DO NOT REPLY [Bug 45351] Unnecessary hyphenation, swallowed characters

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45351





--- Comment #1 from Justus-bulk@Piater.name  2008-07-07 06:15:33 PST ---
Created an attachment (id=22220)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22220)
fo containing two fo:blocks, each illustrating one of the two issues described.


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

DO NOT REPLY [Bug 45351] Unnecessary hyphenation, swallowed characters

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45351





--- Comment #2 from Justus-bulk@Piater.name  2008-07-07 06:21:15 PST ---
Created an attachment (id=22221)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22221)
first attachment rendered by today's fop-trunk


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

DO NOT REPLY [Bug 45351] Unnecessary hyphenation, swallowed characters

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45351


Andreas L. Delmelle <ad...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




--- Comment #3 from Andreas L. Delmelle <ad...@apache.org>  2008-07-07 11:29:59 PST ---

Confirmed. There are two issues here, but as long as we don't succeed in
isolating them, there is no need for two reports.

The first one seems to be related to the white-space (which, as I understand,
is common to precede a question-mark in French typesetting?). It does not
matter whether it is a regular space or another type. The elements generated by
the spaces appear to confuse the algorithm if hyphenation is added. (known
issue with preserved white-space and linefeeds: see Bugzilla #38264)

The second seems to be strictly related to hyphenation, as changing the
language makes the problem go away... I'll have to take a closer look at the
pattern file to see how this influences anything.


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