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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16626

Hyphenation causing java.io.IOException error

           Summary: Hyphenation causing java.io.IOException error
           Product: Fop
           Version: 0.20.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The behavior of setting hyphenation to true seems a little buggy with double 
quote character (&quot;)

<fo:block hyphenate="true" hyphenation-push-character-count="2" hyphenation-
remain-character-count="2" language="en">value</fo:block>

Problem 1:
----------
If value is "80070 - CASH:HOTL TRANS/CTM &quot;PALMSTAR ROSE&quot;", it did 
hyphenate properly, but put the quote in the wrong place. The value was 
displayed as 

80070 - CASH:HOTL TRANS/CTM PALM-
"STAR ROSE"

Notice that the quote has moved to enclose "STAR ROSE" and not "PALMSTAR ROSE".

Problem 2:
---------
This is a more serious one as it causes a java.io.IOException

Try a value of "80070 - CASH:HOTL TRANS/CTM &quot;ASOPOS&quot;" for a table-
cell of width 171pt. It caused the exception, it seems like the no. of chars 
remaining is 2 or less and it being a quot is problematic. As introducing a few 
more characters in the above value or taking out the quotes seemed to work fine.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to