View | Details | Raw Unified | Return to bug 43474
Collapse All | Expand All

(-)src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java (+3 lines)
Lines 519-524 Link Here
519
        thisStart = nextStart;
519
        thisStart = nextStart;
520
        boolean inWord = false;
520
        boolean inWord = false;
521
        boolean inWhitespace = false;
521
        boolean inWhitespace = false;
522
        boolean forceWrap = (foText.getWrapOption() == EN_WRAP);
522
        char ch = 0; 
523
        char ch = 0; 
523
        while (nextStart < textArray.length) {
524
        while (nextStart < textArray.length) {
524
            ch = textArray[nextStart];
525
            ch = textArray[nextStart];
Lines 526-532 Link Here
526
            byte breakAction = keepTogether ? LineBreakStatus.PROHIBITED_BREAK : lbs.nextChar(ch);
527
            byte breakAction = keepTogether ? LineBreakStatus.PROHIBITED_BREAK : lbs.nextChar(ch);
527
            switch (breakAction) {
528
            switch (breakAction) {
528
                case LineBreakStatus.COMBINING_PROHIBITED_BREAK:
529
                case LineBreakStatus.COMBINING_PROHIBITED_BREAK:
530
                    break;
529
                case LineBreakStatus.PROHIBITED_BREAK:
531
                case LineBreakStatus.PROHIBITED_BREAK:
532
                    breakOpportunity = !keepTogether && forceWrap;
530
                    break;
533
                    break;
531
                case LineBreakStatus.EXPLICIT_BREAK:
534
                case LineBreakStatus.EXPLICIT_BREAK:
532
                    break;
535
                    break;

Return to bug 43474