[jira] [Comment Edited] (FOP-2514) [PATCH] Empty hyphenation-character leads to "String index out of range: 0"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (FOP-2514) [PATCH] Empty hyphenation-character leads to "String index out of range: 0"

simon steiner (Jira)

    [ https://issues.apache.org/jira/browse/FOP-2514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16804783#comment-16804783 ]

Chris Bowditch edited comment on FOP-2514 at 3/29/19 10:25 AM:
---------------------------------------------------------------

It's been a while since I did any hyphenation work. The cause of the unit test failure was just a config issue on my end. My bad.  So this fix is not committed in revision 1856528. Thanks for the patch


was (Author: cbowditch):
It's been a while since I did any hyphenation wotk. The cause of the unit test failure was just a config issue on my end. My bad.  SO this fix is not committed in revision 1856528. Thanks for the patch

> [PATCH] Empty hyphenation-character leads to "String index out of range: 0"
> ---------------------------------------------------------------------------
>
>                 Key: FOP-2514
>                 URL: https://issues.apache.org/jira/browse/FOP-2514
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Björn Kautler
>            Assignee: Chris Bowditch
>            Priority: Major
>         Attachments: hyphen.fo, issue-2514.patch
>
>
> If you set hyphenation-character to the empty value, then you get the error message "String index out of range: 0".
> If there is no hyphenation-character set, there should simply nothing be used.
> This is useful in cases where you want hyphenation but no hyphenation character like in program listings or similar



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)