[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-dev
Subject:    DO NOT REPLY [Bug 36408]  New:  -
From:       bugzilla () apache ! org
Date:       2005-08-29 17:01:31
Message-ID: 20050829170131.5AC7649B () ajax ! apache ! org
[Download RAW message or body]

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36408>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36408

           Summary: FOP hyphenation splits consecutive digits onto separate
                    rows
           Product: Fop
           Version: 0.20.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: palaste@cc.helsinki.fi


If a <fo:block> node in the XSL:FO source given to FOP has the hyphenate="true"
attribute set, enabling hyphenation, and the contents of the block have lots of
consecutive digits stretching beyond the block boundary, like so:

                                | <-- boundary
The phone number is 12345678901234567890.

then FOP splits the consecutive digits at the boundary, rendering the text like so:

                                | <-- boundary
The phone number is 1234567890123
4567890.

I would prefer it to treat the entire digit sequence as a single,
non-hyphenatable word, causing it to render as follows:

                                | <-- boundary
The phone number is
12345678901234567890.

However, I couldn't find out any way to configure FOP to do this, because it
uses the same hyphenation pattern format as TeX, and apparently TeX only takes
letters, not other symbols, into account when parsing the hyphenation rules.

Is there some kind of way I could stop FOP from splitting consecutive digits
onto separate rows?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic